Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.889/0.889, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 32.78 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.352e-05, allocations: 8.047 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002047/0.00207, allocations: 1.672 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.002231, allocations: 75.66 kB / 441.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.002277, allocations: 4 kB / 441.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.002329, allocations: 15.86 kB / 441.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.002386, allocations: 27.72 kB / 441.4 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.946e-05/0.002466, allocations: 27.97 kB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.002572, allocations: 107.5 kB / 441.5 MB, free: 2.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.002714, allocations: 39.95 kB / 441.5 MB, free: 2.301 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.002771, allocations: 59.89 kB / 441.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.00284, allocations: 31.89 kB / 441.6 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.002866, allocations: 12 kB / 441.6 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.002876, allocations: 12 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.0029, allocations: 19.92 kB / 441.7 MB, free: 2.168 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.002933, allocations: 31.97 kB / 441.7 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003072, allocations: 127.5 kB / 441.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003075, allocations: 4 kB / 441.8 MB, free: 2.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.003077, allocations: 4 kB / 441.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.003082, allocations: 0 / 441.8 MB, free: 2.004 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003721/0.003454, allocations: 326.2 kB / 442.1 MB, free: 1.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.003493, allocations: 12.03 kB / 442.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.00353, allocations: 46.67 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.003555, allocations: 12.84 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.003639, allocations: 117.7 kB / 442.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.003652, allocations: 8.609 kB / 442.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003663, allocations: 8.375 kB / 442.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.003837, allocations: 137.5 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.003845, allocations: 192 / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.003856, allocations: 4.375 kB / 442.5 MB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.003863, allocations: 8.125 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.003953, allocations: 59.97 kB / 442.5 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.004529, allocations: 0.6724 MB / 443.2 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.004597, allocations: 173.1 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.004624, allocations: 84.08 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.004643, allocations: 79.28 kB / 443.5 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.004678, allocations: 109.8 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.004679, allocations: 0 / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.1585/0.1632, allocations: 25.7 kB / 443.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1632, allocations: 129.6 kB / 443.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1634, allocations: 150.6 kB / 443.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-06/0.1634, allocations: 28.67 kB / 444 MB, free: 46.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1634, allocations: 126.8 kB / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.1634, allocations: 0 / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.1634, allocations: 18.97 kB / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.1635, allocations: 323.2 kB / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.1635, allocations: 7.812 kB / 444.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.1635, allocations: 45.36 kB / 444.5 MB, free: 45.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.1636, allocations: 49.69 kB / 444.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.1636, allocations: 4.5 kB / 444.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001307/0.1637, allocations: 73.08 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1637, allocations: 8.094 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.1637, allocations: 3.75 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1637, allocations: 6.031 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.1638, allocations: 12.5 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1638, allocations: 2.625 kB / 444.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.1639, allocations: 15.42 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1639, allocations: 4.156 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.1639, allocations: 192.9 kB / 444.9 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.164, allocations: 119.3 kB / 445 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.164, allocations: 112.9 kB / 445.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.164, allocations: 181 kB / 445.3 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/0.164, allocations: 182.5 kB / 445.4 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.164, allocations: 180.6 kB / 445.6 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1642, allocations: 407.4 kB / 446 MB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.1642, allocations: 105.4 kB / 446.1 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.1642, allocations: 104.9 kB / 446.2 MB, free: 44.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/0.1642, allocations: 190.6 kB / 446.4 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1642, allocations: 180.2 kB / 446.6 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/0.1642, allocations: 184.3 kB / 446.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/0.1643, allocations: 178.9 kB / 446.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.566e-05/0.1643, allocations: 312.5 kB / 447.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.1643, allocations: 110.2 kB / 447.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1644, allocations: 190.2 kB / 447.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.1644, allocations: 101 kB / 447.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.1644, allocations: 184.5 kB / 447.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1644, allocations: 105.7 kB / 447.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.1645, allocations: 115.4 kB / 448 MB, free: 42.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1645, allocations: 0 / 448 MB, free: 42.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.1647, allocations: 19.06 kB / 448 MB, free: 42.45 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.1648, allocations: 0.8114 MB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.1649, allocations: 17.53 kB / 448.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1649, allocations: 3.812 kB / 448.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.1649, allocations: 0 / 448.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.1651, allocations: 464.3 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.1659, allocations: 1.581 MB / 450.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.166, allocations: 83.42 kB / 451 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.166, allocations: 5.938 kB / 451 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1661, allocations: 23.81 kB / 451 MB, free: 39.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1661, allocations: 6.078 kB / 451 MB, free: 39.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.1864, allocations: 2.257 MB / 453.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.074, allocations: 7.531 kB / 453.3 MB, free: 38.82 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gyrator.v1 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.103969911113381]