Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008804/0.0008804, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9106/0.9106, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.239e-05, allocations: 5.516 kB / 318.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003132/0.003165, allocations: 2.574 MB / 321.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.004183, allocations: 0.6505 MB / 321.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.004296, allocations: 11.94 kB / 321.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.004419, allocations: 43.58 kB / 321.8 MB, free: 3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.004551, allocations: 91.19 kB / 321.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.004787, allocations: 99.75 kB / 322 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.005103, allocations: 370.3 kB / 322.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.005264, allocations: 52.91 kB / 322.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.00545, allocations: 195.5 kB / 322.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.005578, allocations: 119.6 kB / 322.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.005616, allocations: 28 kB / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.005645, allocations: 28 kB / 322.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005697, allocations: 63.75 kB / 322.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.005792, allocations: 107.7 kB / 322.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.00609, allocations: 331 kB / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006095, allocations: 0 / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.006096, allocations: 4 kB / 323.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006102, allocations: 0 / 323.2 MB, free: 1.535 MB / 282.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.0008956/0.006998, allocations: 0.5663 MB / 323.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.007036, allocations: 8.922 kB / 323.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.007078, allocations: 58.73 kB / 323.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.007128, allocations: 32.75 kB / 323.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.007437, allocations: 237.1 kB / 324.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.007452, allocations: 12.88 kB / 324.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.007475, allocations: 20.38 kB / 324.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.007876, allocations: 326.7 kB / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.007884, allocations: 192 / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.007902, allocations: 12.12 kB / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007909, allocations: 8 kB / 324.5 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.008294, allocations: 245.8 kB / 324.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.009333, allocations: 0.852 MB / 325.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.00979, allocations: 234.5 kB / 325.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.009954, allocations: 96.78 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.009973, allocations: 0 / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.01025, allocations: 229.3 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.01026, allocations: 0 / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001312/0.01157, allocations: 0.5721 MB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.01162, allocations: 115 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.01182, allocations: 269.8 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.01183, allocations: 29.64 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.01192, allocations: 180.1 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.01195, allocations: 51.56 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.012, allocations: 41.7 kB / 327.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.01208, allocations: 338.8 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.01227, allocations: 129.6 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.0125, allocations: 245.5 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.01285, allocations: 275.1 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01285, allocations: 4 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006257/0.01348, allocations: 453.5 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.01351, allocations: 41.62 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01352, allocations: 0 / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.01379, allocations: 80.86 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.01389, allocations: 39.91 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.01562, allocations: 1.836 MB / 330.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.01579, allocations: 47.84 kB / 330.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.0158, allocations: 8 kB / 330.8 MB, free: 9.414 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 0.0001023/0.01591, allocations: 141.8 kB / 331 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.01593, allocations: 23.86 kB / 331 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.01596, allocations: 29.77 kB / 331 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01596, allocations: 0 / 331 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01596, allocations: 3.938 kB / 331 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01596, allocations: 0 / 331 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01612, allocations: 236.6 kB / 331.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01612, allocations: 0 / 331.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.01619, allocations: 23.97 kB / 331.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.01633, allocations: 68.86 kB / 331.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01635, allocations: 15.97 kB / 331.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.01761, allocations: 1.647 MB / 333 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.01761, allocations: 4.031 kB / 333 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.01814, allocations: 357.4 kB / 333.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.01816, allocations: 19.86 kB / 333.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.01818, allocations: 8 kB / 333.4 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.0183, allocations: 35.89 kB / 333.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.01836, allocations: 23.97 kB / 333.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01837, allocations: 4 kB / 333.5 MB, free: 6.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.01849, allocations: 193.1 kB / 333.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.01849, allocations: 0 / 333.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.01874, allocations: 75.89 kB / 333.7 MB, free: 6.348 MB / 298.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.0007392/0.01948, allocations: 0.894 MB / 334.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.02006, allocations: 439.5 kB / 335 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02007, allocations: 0 / 335 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.0203, allocations: 226.9 kB / 335.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.02054, allocations: 48.53 kB / 335.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.02366, allocations: 3.041 MB / 338.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.976e-05/0.02374, allocations: 138.2 kB / 338.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.02381, allocations: 30.27 kB / 338.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.0239, allocations: 80.47 kB / 338.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.0239, allocations: 0 / 338.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.04791, allocations: 7.157 MB / 345.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.797, allocations: 7.328 kB / 345.8 MB, free: 10.21 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.519516362808645]