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.001826/0.001826, 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.00203/0.00203, allocations: 180.4 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.411/1.411, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001554/0.001554, allocations: 43.92 kB / 370.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2606, allocations: 52.18 MB / 422.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004227/0.2648, allocations: 2.789 MB / 425.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.266, allocations: 0.6816 MB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2662, allocations: 4 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2663, allocations: 39.58 kB / 426.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.2665, allocations: 103.2 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2668, allocations: 91.83 kB / 426.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.2673, allocations: 358.5 kB / 426.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2674, allocations: 60.91 kB / 426.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2676, allocations: 131.5 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2678, allocations: 155.3 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.2679, allocations: 28 kB / 427.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.2679, allocations: 39.94 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.268, allocations: 55.77 kB / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.2682, allocations: 147.3 kB / 427.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.2686, allocations: 331.1 kB / 427.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2686, allocations: 0 / 427.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2686, allocations: 0 / 427.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2686, allocations: 0 / 427.6 MB, free: 9.578 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.001282/0.2699, allocations: 0.5702 MB / 428.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2699, allocations: 15.97 kB / 428.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.63e-05/0.27, allocations: 50.73 kB / 428.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.27, allocations: 32.75 kB / 428.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.2705, allocations: 233.9 kB / 428.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.2705, allocations: 16.81 kB / 428.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.2706, allocations: 16.38 kB / 428.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.2712, allocations: 277.9 kB / 428.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2712, allocations: 7.984 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2712, allocations: 8 kB / 428.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2713, allocations: 8 kB / 428.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.272, allocations: 233.6 kB / 429.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.2737, allocations: 0.9135 MB / 430 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.2745, allocations: 230.5 kB / 430.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.2748, allocations: 104.8 kB / 430.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2748, allocations: 0 / 430.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.2753, allocations: 181.5 kB / 430.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2753, allocations: 4 kB / 430.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002296/0.2776, allocations: 0.5721 MB / 431.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.2777, allocations: 110.8 kB / 431.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.278, allocations: 269.8 kB / 431.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.278, allocations: 25.7 kB / 431.5 MB, free: 5.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2782, allocations: 180.1 kB / 431.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.2782, allocations: 47.62 kB / 431.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.2783, allocations: 41.92 kB / 431.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2785, allocations: 334.8 kB / 432.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.2788, allocations: 107.8 kB / 432.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.2792, allocations: 164.5 kB / 432.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.2799, allocations: 263.6 kB / 432.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2799, allocations: 4 kB / 432.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001189/0.2811, allocations: 435.7 kB / 433 MB, free: 3.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.2811, allocations: 33.7 kB / 433.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2811, allocations: 3.938 kB / 433.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.2816, allocations: 80.86 kB / 433.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2817, allocations: 35.97 kB / 433.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.2846, allocations: 1.847 MB / 435 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.2849, allocations: 55.73 kB / 435.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2849, allocations: 8 kB / 435.1 MB, free: 1.68 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.0001586/0.2851, allocations: 137.9 kB / 435.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2851, allocations: 27.8 kB / 435.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.2852, allocations: 21.81 kB / 435.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2852, allocations: 3.984 kB / 435.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2852, allocations: 4 kB / 435.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2852, allocations: 0 / 435.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.2855, allocations: 272.6 kB / 435.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2855, allocations: 0 / 435.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2856, allocations: 27.92 kB / 435.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.2859, allocations: 80.73 kB / 435.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2859, allocations: 0 / 435.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.2882, allocations: 1.651 MB / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2882, allocations: 0 / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2892, allocations: 357.6 kB / 437.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.2893, allocations: 31.91 kB / 437.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.2894, allocations: 16 kB / 437.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2896, allocations: 27.97 kB / 437.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2897, allocations: 19.95 kB / 437.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2897, allocations: 8 kB / 437.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.2899, allocations: 189.2 kB / 437.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2899, allocations: 0 / 437.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.2902, allocations: 67.89 kB / 438 MB, free: 14.57 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.001438/0.2917, allocations: 0.8893 MB / 438.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2927, allocations: 422 kB / 439.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2927, allocations: 0 / 439.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.2931, allocations: 222.5 kB / 439.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2935, allocations: 40.61 kB / 439.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.2986, allocations: 2.923 MB / 442.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.299, allocations: 0.744 MB / 443.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.2991, allocations: 26.28 kB / 443.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2992, allocations: 79.41 kB / 443.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2992, allocations: 0 / 443.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.339, allocations: 6.524 MB / 449.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.8, allocations: 11.97 kB / 449.9 MB, free: 2.645 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.250138671002787]