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.001681/0.001681, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001996/0.001996, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.001864/0.001864, allocations: 67.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 53.32 MB / 426.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004562/0.1256, allocations: 2.777 MB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1271, allocations: 0.7206 MB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1272, allocations: 4 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1274, allocations: 39.58 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1276, allocations: 99.19 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1279, allocations: 91.81 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.1283, allocations: 362.5 kB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1285, allocations: 56.72 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1287, allocations: 139.5 kB / 431 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1289, allocations: 147.3 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.129, allocations: 32 kB / 431.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.156e-05/0.129, allocations: 28 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.1291, allocations: 63.77 kB / 431.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1293, allocations: 143.3 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.1298, allocations: 334.5 kB / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1298, allocations: 0 / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1298, allocations: 0 / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1298, allocations: 4 kB / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001353/0.1311, allocations: 0.6533 MB / 432.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1312, allocations: 8.031 kB / 432.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.1312, allocations: 54.73 kB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.1313, allocations: 32.75 kB / 432.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.1317, allocations: 275.8 kB / 432.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1318, allocations: 16.81 kB / 432.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1318, allocations: 20.38 kB / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.1324, allocations: 281.8 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1324, allocations: 0 / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.1325, allocations: 12 kB / 433.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1325, allocations: 4 kB / 433.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.1332, allocations: 241.6 kB / 433.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.1348, allocations: 0.9444 MB / 434.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.1356, allocations: 234.5 kB / 434.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.136, allocations: 92.78 kB / 434.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.136, allocations: 4 kB / 434.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.1365, allocations: 185.7 kB / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1365, allocations: 0 / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.002275/0.1387, allocations: 0.6501 MB / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.1388, allocations: 110.8 kB / 435.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.1392, allocations: 274.5 kB / 435.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.1392, allocations: 33.64 kB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1393, allocations: 180.3 kB / 436 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1394, allocations: 51.67 kB / 436 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.1395, allocations: 49.59 kB / 436.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1396, allocations: 334.8 kB / 436.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.14, allocations: 99.92 kB / 436.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.1404, allocations: 178.2 kB / 436.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.1411, allocations: 288.2 kB / 437 MB, free: 10.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1411, allocations: 0 / 437 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001196/0.1423, allocations: 443.7 kB / 437.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.1423, allocations: 33.7 kB / 437.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.1423, allocations: 3.938 kB / 437.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.1427, allocations: 88.84 kB / 437.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.1429, allocations: 35.97 kB / 437.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.1462, allocations: 2.017 MB / 439.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.1465, allocations: 47.92 kB / 439.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.1465, allocations: 15.98 kB / 439.6 MB, free: 7.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.1467, allocations: 137.8 kB / 439.8 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.1467, allocations: 23.8 kB / 439.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.1468, allocations: 29.83 kB / 439.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1468, allocations: 3.938 kB / 439.8 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1468, allocations: 4 kB / 439.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1468, allocations: 4 kB / 439.8 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.1471, allocations: 289.5 kB / 440.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1471, allocations: 0 / 440.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.1473, allocations: 23.97 kB / 440.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/0.1475, allocations: 76.73 kB / 440.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.1475, allocations: 8 kB / 440.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.1503, allocations: 1.924 MB / 442.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1503, allocations: 0 / 442.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.1514, allocations: 365.5 kB / 442.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1515, allocations: 96.97 kB / 442.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1515, allocations: 4 kB / 442.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1518, allocations: 39.95 kB / 442.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1519, allocations: 19.97 kB / 442.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1519, allocations: 0 / 442.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1521, allocations: 197.9 kB / 442.9 MB, free: 4.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1521, allocations: 0 / 442.9 MB, free: 4.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1525, allocations: 75.88 kB / 442.9 MB, free: 3.938 MB / 366.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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/0.1541, allocations: 0.8979 MB / 443.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.1555, allocations: 472.8 kB / 444.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1555, allocations: 0 / 444.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.1561, allocations: 230.9 kB / 444.5 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1564, allocations: 51.42 kB / 444.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2114/0.3679, allocations: 3.422 MB / 448 MB, free: 23.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3681, allocations: 0.7481 MB / 448.7 MB, free: 22.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.3682, allocations: 24.83 kB / 448.8 MB, free: 22.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3683, allocations: 75.7 kB / 448.8 MB, free: 22.98 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3683, allocations: 0 / 448.8 MB, free: 22.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.4057, allocations: 6.405 MB / 455.2 MB, free: 22.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.54, allocations: 17.05 kB / 455.3 MB, free: 22.49 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: 14.986898738890886] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.631211854983121 12.65084219 12.5173408 Calling exit ...