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.000868/0.000868, 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.0008144/0.0008144, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.9063/0.9063, allocations: 173.4 MB / 200.4 MB, free: 9.426 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.593e-06/1.593e-06, allocations: 0 / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.404e-05, allocations: 6.219 kB / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00244/0.002454, allocations: 2.578 MB / 321.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.003328, allocations: 0.6544 MB / 321.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003437, allocations: 7.938 kB / 321.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003548, allocations: 39.58 kB / 321.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.003686, allocations: 95.14 kB / 321.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.003918, allocations: 103.8 kB / 322 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.004188, allocations: 370.3 kB / 322.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004318, allocations: 52.91 kB / 322.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004476, allocations: 195.5 kB / 322.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.004584, allocations: 115.6 kB / 322.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.004618, allocations: 28 kB / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.72e-05/0.004645, allocations: 28 kB / 322.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.004687, allocations: 63.75 kB / 322.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.004765, allocations: 107.7 kB / 322.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.005012, allocations: 331 kB / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005014, allocations: 0 / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.005015, allocations: 0 / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005019, allocations: 0 / 323.2 MB, free: 1.539 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.00112/0.006139, allocations: 0.5734 MB / 323.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.006181, allocations: 8.922 kB / 323.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.006227, allocations: 58.73 kB / 323.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.00629, allocations: 36.73 kB / 323.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.006598, allocations: 225.1 kB / 324.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.006614, allocations: 16.88 kB / 324.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.006637, allocations: 20.38 kB / 324.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.00707, allocations: 330.7 kB / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.007082, allocations: 192 / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.007107, allocations: 8.125 kB / 324.5 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.007116, allocations: 8 kB / 324.5 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.00766, allocations: 249.8 kB / 324.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.008674, allocations: 0.8442 MB / 325.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.00912, allocations: 230.5 kB / 325.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.00928, allocations: 104.8 kB / 325.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.009299, allocations: 4 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.009614, allocations: 225.3 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.009616, allocations: 0 / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001206/0.01082, allocations: 0.5785 MB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.01087, allocations: 111 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.01107, allocations: 269.8 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.01109, allocations: 29.64 kB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.01117, allocations: 184.1 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.0112, allocations: 43.58 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.01125, allocations: 49.7 kB / 327.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.01133, allocations: 334.8 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.01151, allocations: 129.6 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.01179, allocations: 245.5 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.01215, allocations: 279.1 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01215, allocations: 0 / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006524/0.0128, allocations: 453.5 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.01283, allocations: 41.62 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01284, allocations: 4 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.01307, allocations: 72.8 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.0132, allocations: 47.97 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.01469, allocations: 1.832 MB / 330.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.01484, allocations: 47.91 kB / 330.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.01486, allocations: 12 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.0001052/0.01496, allocations: 137.7 kB / 331 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.01499, allocations: 23.86 kB / 331 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.01501, allocations: 25.77 kB / 331 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01501, allocations: 4 kB / 331 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01502, allocations: 7.938 kB / 331 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01502, allocations: 0 / 331 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.01518, allocations: 236.6 kB / 331.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01518, allocations: 0 / 331.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.01525, allocations: 27.97 kB / 331.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.01539, allocations: 72.8 kB / 331.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.0154, allocations: 4 kB / 331.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.01656, allocations: 1.647 MB / 333 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01657, allocations: 0 / 333 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.01709, allocations: 361.6 kB / 333.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.01711, allocations: 19.86 kB / 333.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01713, allocations: 7.984 kB / 333.4 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01724, allocations: 31.91 kB / 333.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.0173, allocations: 23.97 kB / 333.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01731, allocations: 11.98 kB / 333.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.01743, allocations: 189.2 kB / 333.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01743, allocations: 0 / 333.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01767, allocations: 67.89 kB / 333.7 MB, free: 6.355 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.0007245/0.0184, allocations: 0.9017 MB / 334.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.01896, allocations: 443 kB / 335 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01896, allocations: 4.062 kB / 335 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.0192, allocations: 226.5 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.0002292/0.01943, allocations: 47.61 kB / 335.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.02246, allocations: 3.044 MB / 338.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.508e-05/0.02254, allocations: 134.2 kB / 338.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.02262, allocations: 26.28 kB / 338.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.02271, allocations: 80.47 kB / 338.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02271, allocations: 0 / 338.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.04716, allocations: 7.156 MB / 345.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.849, allocations: 13.64 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 & 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/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] "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: 9.601243507117033]