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.001312/0.001312, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001383/0.001383, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.413/1.413, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00174/0.00174, allocations: 43.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2904, allocations: 52.18 MB / 422.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004493/0.2949, allocations: 2.781 MB / 425.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2964, allocations: 0.6855 MB / 426.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2966, allocations: 4 kB / 426.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2967, allocations: 43.58 kB / 426.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.297, allocations: 95.19 kB / 426.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2973, allocations: 91.88 kB / 426.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.2978, allocations: 362.5 kB / 426.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.298, allocations: 60.91 kB / 426.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.2982, allocations: 131.5 kB / 426.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2984, allocations: 147.4 kB / 427 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.2985, allocations: 36 kB / 427.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.2985, allocations: 31.94 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.2986, allocations: 71.73 kB / 427.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2988, allocations: 135.3 kB / 427.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.2992, allocations: 331.3 kB / 427.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2992, allocations: 0 / 427.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2992, allocations: 0 / 427.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2992, allocations: 4 kB / 427.6 MB, free: 9.742 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001272/0.3004, allocations: 0.5624 MB / 428.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3005, allocations: 19.95 kB / 428.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.828e-05/0.3006, allocations: 58.67 kB / 428.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.3007, allocations: 28.75 kB / 428.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.3012, allocations: 226 kB / 428.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.3012, allocations: 20.8 kB / 428.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.3013, allocations: 20.38 kB / 428.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.3022, allocations: 277.9 kB / 428.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3022, allocations: 0 / 428.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.3023, allocations: 15.98 kB / 428.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3023, allocations: 4 kB / 428.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3034, allocations: 241.6 kB / 429.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.3058, allocations: 0.9096 MB / 430 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.307, allocations: 234.5 kB / 430.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.3075, allocations: 100.8 kB / 430.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3075, allocations: 0 / 430.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006914/0.3082, allocations: 181.7 kB / 430.5 MB, free: 6.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3082, allocations: 4 kB / 430.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.003425/0.3116, allocations: 0.5799 MB / 431.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.3117, allocations: 106.8 kB / 431.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.3121, allocations: 265.8 kB / 431.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.3122, allocations: 29.7 kB / 431.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3124, allocations: 176.1 kB / 431.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3125, allocations: 47.64 kB / 431.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3126, allocations: 41.92 kB / 431.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3128, allocations: 326.8 kB / 432.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.3133, allocations: 107.8 kB / 432.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.3138, allocations: 172 kB / 432.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.3148, allocations: 259.6 kB / 432.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3148, allocations: 8 kB / 432.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001728/0.3165, allocations: 427.7 kB / 433 MB, free: 4.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.3166, allocations: 33.7 kB / 433.1 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3166, allocations: 8.062 kB / 433.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.3171, allocations: 80.73 kB / 433.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3174, allocations: 39.97 kB / 433.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.3212, allocations: 1.847 MB / 435 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.3217, allocations: 51.8 kB / 435.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.3217, allocations: 12 kB / 435.1 MB, free: 1.844 MB / 334.1 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.0002457/0.322, allocations: 139.7 kB / 435.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.322, allocations: 27.8 kB / 435.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/0.3221, allocations: 25.77 kB / 435.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3221, allocations: 4 kB / 435.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.3221, allocations: 0 / 435.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3221, allocations: 3.938 kB / 435.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.3225, allocations: 264.5 kB / 435.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3225, allocations: 0 / 435.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.3227, allocations: 19.98 kB / 435.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.3231, allocations: 84.8 kB / 435.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3231, allocations: 4 kB / 435.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.3264, allocations: 1.663 MB / 437.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3264, allocations: 0 / 437.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3281, allocations: 353.5 kB / 437.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.3281, allocations: 35.72 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.3282, allocations: 4 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.3286, allocations: 27.97 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3287, allocations: 27.95 kB / 437.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3287, allocations: 0 / 437.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.329, allocations: 189.2 kB / 437.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.329, allocations: 0 / 437.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005074/0.3295, allocations: 75.89 kB / 438 MB, free: 14.73 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: 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.002067/0.3316, allocations: 0.8893 MB / 438.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.333, allocations: 409.8 kB / 439.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.333, allocations: 0 / 439.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.3337, allocations: 222.5 kB / 439.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.3342, allocations: 52.91 kB / 439.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007195/0.3414, allocations: 2.931 MB / 442.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.3419, allocations: 0.748 MB / 443.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.342, allocations: 18.3 kB / 443.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3422, allocations: 79.41 kB / 443.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3422, allocations: 0 / 443.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/0.3865, allocations: 6.522 MB / 449.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.1, allocations: 5.234 kB / 449.9 MB, free: 2.809 MB / 350.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/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: 15.450396321946755]