Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.0008662/0.0008662, 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.001451/0.001451, 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.919/0.919, allocations: 173.4 MB / 200.4 MB, free: 9.438 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.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.658e-05, allocations: 5.516 kB / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003313/0.00334, allocations: 2.855 MB / 321.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004452, allocations: 0.7364 MB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.004597, allocations: 7.938 kB / 322.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.004743, allocations: 51.5 kB / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.004907, allocations: 127 kB / 322.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.005389, allocations: 131.7 kB / 322.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.005771, allocations: 470 kB / 322.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.005974, allocations: 91.44 kB / 322.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.006245, allocations: 259.4 kB / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.006412, allocations: 143.6 kB / 323.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.00647, allocations: 48 kB / 323.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.062e-05/0.006511, allocations: 44 kB / 323.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.006576, allocations: 95.59 kB / 323.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.006684, allocations: 131.7 kB / 323.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.00708, allocations: 0.5024 MB / 324.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007083, allocations: 0 / 324.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.007085, allocations: 0 / 324.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.007093, allocations: 0 / 324.1 MB, free: 0.625 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009837/0.008077, allocations: 0.6393 MB / 324.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.008119, allocations: 12.92 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.008171, allocations: 66.72 kB / 324.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.00823, allocations: 40.7 kB / 324.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.008585, allocations: 248.7 kB / 325.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.008605, allocations: 29.02 kB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.008643, allocations: 24.38 kB / 325.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.009155, allocations: 397 kB / 325.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.009169, allocations: 7.875 kB / 325.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.009192, allocations: 12 kB / 325.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.0092, allocations: 12 kB / 325.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.01, allocations: 298.4 kB / 325.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.01143, allocations: 1.148 MB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.01182, allocations: 222.3 kB / 327.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.01201, allocations: 104.8 kB / 327.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01203, allocations: 4 kB / 327.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.01239, allocations: 245.2 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.0124, allocations: 0 / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001368/0.01376, allocations: 0.6066 MB / 328.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.01382, allocations: 110.8 kB / 328.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.01407, allocations: 300.1 kB / 328.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.0141, allocations: 33.7 kB / 328.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01421, allocations: 212 kB / 328.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.01425, allocations: 55.52 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.01432, allocations: 53.64 kB / 329 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01442, allocations: 342.8 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.01464, allocations: 145.6 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.01492, allocations: 293.3 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.01535, allocations: 331.7 kB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01535, allocations: 3.938 kB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007297/0.01608, allocations: 0.5015 MB / 330.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.01612, allocations: 33.69 kB / 330.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.01613, allocations: 4 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.01641, allocations: 88.73 kB / 330.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01656, allocations: 51.91 kB / 330.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.01832, allocations: 1.886 MB / 332.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.01853, allocations: 59.86 kB / 332.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01854, allocations: 12 kB / 332.7 MB, free: 7.523 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 24 * 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.0001301/0.01867, allocations: 153.7 kB / 332.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.0187, allocations: 23.91 kB / 332.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.01904, allocations: 33.78 kB / 332.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01904, allocations: 0 / 332.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01904, allocations: 0 / 332.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01905, allocations: 3.938 kB / 332.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.01927, allocations: 280.6 kB / 333.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01927, allocations: 4 kB / 333.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.01937, allocations: 27.97 kB / 333.2 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.01955, allocations: 80.8 kB / 333.3 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.01957, allocations: 4 kB / 333.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.02096, allocations: 1.701 MB / 335 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02096, allocations: 0 / 335 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.02174, allocations: 0.4935 MB / 335.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.02177, allocations: 19.89 kB / 335.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.0218, allocations: 7.984 kB / 335.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.02192, allocations: 31.97 kB / 335.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.02198, allocations: 27.97 kB / 335.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.022, allocations: 7.984 kB / 335.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.02216, allocations: 211.1 kB / 335.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02216, allocations: 0 / 335.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.02245, allocations: 87.78 kB / 335.9 MB, free: 4.148 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * 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 (11): * Single equations (assignments): 8 * 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.001019/0.02347, allocations: 1.034 MB / 336.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006461/0.02412, allocations: 474.8 kB / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.02412, allocations: 4 kB / 337.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.02438, allocations: 235 kB / 337.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.02464, allocations: 63.97 kB / 337.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.0286, allocations: 3.397 MB / 341.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.02872, allocations: 155.8 kB / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02882, allocations: 30.95 kB / 341.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02893, allocations: 92.47 kB / 341.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.02893, allocations: 0 / 341.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.0554, allocations: 8.199 MB / 349.5 MB, free: 6.395 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/7.938, allocations: 14.59 kB / 349.5 MB, free: 6.387 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_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_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable derivative.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,derivative.c.v,derivative.opAmp.out.v,derivative.opAmp.out.i Variables in the result:time,derivative.c.v [Calling sys.exit(0), Time elapsed: 9.785432050004601]