Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.88 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2407, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004275/0.245, allocations: 2.827 MB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2462, allocations: 0.7011 MB / 434.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2464, allocations: 7.938 kB / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2465, allocations: 43.56 kB / 434.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2467, allocations: 99.19 kB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.247, allocations: 87.83 kB / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.2474, allocations: 346.6 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.2476, allocations: 68.78 kB / 435.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2478, allocations: 135.5 kB / 435.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.248, allocations: 155.3 kB / 435.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.248, allocations: 28 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.2481, allocations: 32 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.2481, allocations: 63.7 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2483, allocations: 159.2 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.2487, allocations: 335 kB / 436.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2487, allocations: 0 / 436.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2487, allocations: 0 / 436.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2487, allocations: 0 / 436.3 MB, free: 1.594 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00113/0.2499, allocations: 0.5585 MB / 436.8 MB, free: 1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2499, allocations: 12.03 kB / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.25, allocations: 58.67 kB / 436.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.25, allocations: 32.75 kB / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.2504, allocations: 225.9 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2504, allocations: 16.81 kB / 437.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2505, allocations: 32.31 kB / 437.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.251, allocations: 239.3 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.251, allocations: 0 / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2511, allocations: 4 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2511, allocations: 8 kB / 437.4 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.2517, allocations: 225.6 kB / 437.7 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.2532, allocations: 0.8696 MB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.2539, allocations: 198.6 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.2541, allocations: 84.8 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.2541, allocations: 7.984 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.2545, allocations: 185.7 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2545, allocations: 0 / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001522/0.2561, allocations: 422.2 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.2562, allocations: 140.5 kB / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.2565, allocations: 277.8 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2565, allocations: 29.7 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2566, allocations: 180.2 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.2567, allocations: 55.53 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.2568, allocations: 45.94 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2569, allocations: 338.8 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.2572, allocations: 84.41 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.2575, allocations: 171.9 kB / 440.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.2581, allocations: 259.9 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2581, allocations: 0 / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009432/0.259, allocations: 387.6 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.2591, allocations: 36.2 kB / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2591, allocations: 4.25 kB / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.2594, allocations: 76.78 kB / 441.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.2596, allocations: 39.91 kB / 441.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.2619, allocations: 1.822 MB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2622, allocations: 55.86 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2623, allocations: 4 kB / 443.4 MB, free: 10.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.2624, allocations: 144.5 kB / 443.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.2625, allocations: 27.8 kB / 443.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.2625, allocations: 34.05 kB / 443.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2625, allocations: 3.938 kB / 443.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.2625, allocations: 0 / 443.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2625, allocations: 4.031 kB / 443.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.2628, allocations: 276.5 kB / 443.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2628, allocations: 4 kB / 443.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.263, allocations: 20.22 kB / 443.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.2632, allocations: 72.8 kB / 443.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.2633, allocations: 7.984 kB / 444 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.2653, allocations: 1.802 MB / 445.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2653, allocations: 4.031 kB / 445.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.2661, allocations: 301.5 kB / 446.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.2661, allocations: 27.84 kB / 446.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2662, allocations: 0 / 446.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2664, allocations: 40.2 kB / 446.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.2665, allocations: 23.91 kB / 446.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.2665, allocations: 11.94 kB / 446.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.2667, allocations: 193.2 kB / 446.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2667, allocations: 0 / 446.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.2671, allocations: 79.89 kB / 446.4 MB, free: 6.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.2682, allocations: 0.8504 MB / 447.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008676/0.2691, allocations: 381.8 kB / 447.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2691, allocations: 0.5 kB / 447.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.2695, allocations: 238.5 kB / 447.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2699, allocations: 40.48 kB / 447.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.2755, allocations: 2.964 MB / 450.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.276, allocations: 0.7558 MB / 451.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.2761, allocations: 26.28 kB / 451.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2763, allocations: 79.41 kB / 451.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.2763, allocations: 0 / 451.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.3281, allocations: 6.886 MB / 458.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.84, allocations: 0 / 458.6 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.129032880999148] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.954653628868982 12.972380724 12.719991272 Calling exit ...