Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8724/0.8724, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.2e-05, allocations: 2.281 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002449/0.002461, allocations: 2.617 MB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.00342, allocations: 0.6855 MB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.003547, allocations: 7.938 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.003693, allocations: 39.62 kB / 328 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.003875, allocations: 103.1 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.004166, allocations: 95.81 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.004483, allocations: 362.4 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.004635, allocations: 60.75 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.004829, allocations: 199.5 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.004941, allocations: 111.7 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.004977, allocations: 28 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.005009, allocations: 28 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.005054, allocations: 71.69 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.005133, allocations: 99.75 kB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.005408, allocations: 338.9 kB / 329.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005411, allocations: 4 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005412, allocations: 0 / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005417, allocations: 0 / 329.4 MB, free: 11.02 MB / 298.7 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.0007973/0.006214, allocations: 0.5703 MB / 330 MB, free: 10.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.006255, allocations: 12.03 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.006296, allocations: 50.73 kB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.006347, allocations: 36.69 kB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.006617, allocations: 229.2 kB / 330.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006636, allocations: 20.81 kB / 330.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.006658, allocations: 16.38 kB / 330.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.00707, allocations: 326.7 kB / 330.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.007079, allocations: 192 / 330.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.007099, allocations: 16.12 kB / 330.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.007105, allocations: 4 kB / 330.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.007479, allocations: 245.8 kB / 330.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.008409, allocations: 0.8481 MB / 331.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.008837, allocations: 226.6 kB / 332 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.009001, allocations: 100.7 kB / 332.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.00902, allocations: 3.984 kB / 332.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.009291, allocations: 229.2 kB / 332.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.009292, allocations: 0 / 332.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00112/0.01041, allocations: 0.5834 MB / 332.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.01046, allocations: 110.8 kB / 333 MB, free: 7.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.01064, allocations: 261.9 kB / 333.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.01066, allocations: 33.7 kB / 333.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.01075, allocations: 176.1 kB / 333.5 MB, free: 6.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.01078, allocations: 43.64 kB / 333.5 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.01085, allocations: 41.7 kB / 333.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.01094, allocations: 343 kB / 333.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.01112, allocations: 121.6 kB / 334 MB, free: 6.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.01134, allocations: 259.9 kB / 334.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.01169, allocations: 267.3 kB / 334.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01169, allocations: 4 kB / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006039/0.0123, allocations: 461.4 kB / 335 MB, free: 5.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.01232, allocations: 37.64 kB / 335 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01233, allocations: 0 / 335 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.01256, allocations: 80.86 kB / 335.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.01265, allocations: 35.97 kB / 335.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.01407, allocations: 1.843 MB / 337 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01422, allocations: 47.8 kB / 337 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01423, allocations: 8 kB / 337 MB, free: 2.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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 8.938e-05/0.01432, allocations: 137.8 kB / 337.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.01434, allocations: 27.92 kB / 337.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.01436, allocations: 25.78 kB / 337.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01437, allocations: 3.984 kB / 337.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01437, allocations: 3.938 kB / 337.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01437, allocations: 0 / 337.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01452, allocations: 228.6 kB / 337.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01452, allocations: 7.922 kB / 337.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.01458, allocations: 19.98 kB / 337.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.01471, allocations: 76.8 kB / 337.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01472, allocations: 4 kB / 337.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.01586, allocations: 1.654 MB / 339.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01586, allocations: 4.031 kB / 339.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.01635, allocations: 349.6 kB / 339.6 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.01638, allocations: 27.84 kB / 339.6 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.0164, allocations: 0 / 339.6 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.0165, allocations: 43.89 kB / 339.6 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.01655, allocations: 23.91 kB / 339.7 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01656, allocations: 4 kB / 339.7 MB, free: 96 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.0167, allocations: 189.2 kB / 339.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0167, allocations: 0 / 339.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01693, allocations: 79.84 kB / 339.9 MB, free: 15.83 MB / 314.7 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.0006748/0.01761, allocations: 0.8863 MB / 340.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.01813, allocations: 439.5 kB / 341.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01813, allocations: 0 / 341.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.01835, allocations: 214.6 kB / 341.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.01855, allocations: 44.98 kB / 341.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.02132, allocations: 3.055 MB / 344.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.0214, allocations: 138.2 kB / 344.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.02147, allocations: 30.27 kB / 344.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.02155, allocations: 72.48 kB / 344.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02155, allocations: 4 kB / 344.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.0446, allocations: 7.19 MB / 352 MB, free: 3.703 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.593, allocations: 4.062 kB / 352 MB, free: 3.699 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.200965363532305]