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.00174/0.00174, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002176/0.002176, allocations: 203.3 kB / 20.74 MB, free: 2.34 MB / 14.72 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 1.646/1.646, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2661/0.2661, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 499.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1508, allocations: 65.42 MB / 0.5517 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003097/0.1539, allocations: 1.728 MB / 0.5534 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.1541, allocations: 75.66 kB / 0.5535 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.1541, allocations: 0 / 0.5535 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.037e-05/0.1542, allocations: 27.84 kB / 0.5535 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.1543, allocations: 23.78 kB / 0.5535 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.247e-05/0.1544, allocations: 19.97 kB / 0.5536 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1545, allocations: 103.6 kB / 0.5537 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1547, allocations: 44.23 kB / 0.5537 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.1547, allocations: 39.86 kB / 0.5537 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.1548, allocations: 43.84 kB / 0.5538 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1549, allocations: 12 kB / 0.5538 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.1549, allocations: 15.94 kB / 0.5538 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.1549, allocations: 23.92 kB / 0.5538 GB, free: 8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.155, allocations: 55.73 kB / 0.5539 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1551, allocations: 123.4 kB / 0.554 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1552, allocations: 3.938 kB / 0.554 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1552, allocations: 4 kB / 0.554 GB, free: 7.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1552, allocations: 0 / 0.554 GB, free: 7.816 MB / 414.1 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.0005668/0.1557, allocations: 399.3 kB / 0.5544 GB, free: 7.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1558, allocations: 12.03 kB / 0.5544 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.1558, allocations: 42.73 kB / 0.5544 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1559, allocations: 16.84 kB / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.156, allocations: 172.3 kB / 0.5546 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.156, allocations: 8.609 kB / 0.5546 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1561, allocations: 16.38 kB / 0.5546 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1563, allocations: 131.9 kB / 0.5548 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1563, allocations: 3.938 kB / 0.5548 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1563, allocations: 4 kB / 0.5548 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1563, allocations: 4 kB / 0.5548 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1565, allocations: 63.91 kB / 0.5548 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.1574, allocations: 0.7236 MB / 0.5556 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1575, allocations: 173.1 kB / 0.5557 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.1576, allocations: 84.14 kB / 0.5558 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.1576, allocations: 75.28 kB / 0.5559 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.1577, allocations: 109.8 kB / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.1577, allocations: 0 / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.808e-05/0.1577, allocations: 29.7 kB / 0.556 GB, free: 5.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.1578, allocations: 130.6 kB / 0.5561 GB, free: 5.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.158, allocations: 155.6 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.158, allocations: 25.7 kB / 0.5563 GB, free: 5.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.1581, allocations: 127.8 kB / 0.5564 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-06/0.1581, allocations: 0 / 0.5564 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1582, allocations: 21.67 kB / 0.5564 GB, free: 5.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1583, allocations: 326.7 kB / 0.5568 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.1584, allocations: 7.984 kB / 0.5568 GB, free: 4.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.1584, allocations: 41.16 kB / 0.5568 GB, free: 4.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.1585, allocations: 57.09 kB / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1585, allocations: 0 / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001573/0.1586, allocations: 69.56 kB / 0.5569 GB, free: 4.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1587, allocations: 8 kB / 0.5569 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1587, allocations: 3.984 kB / 0.5569 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1587, allocations: 4 kB / 0.5569 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.1588, allocations: 11.94 kB / 0.5569 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1588, allocations: 192 / 0.5569 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1588, allocations: 23.77 kB / 0.557 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1588, allocations: 4 kB / 0.557 GB, free: 4.48 MB / 414.1 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 0.0001274/0.1589, allocations: 195.3 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.159, allocations: 112.9 kB / 0.5573 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.1591, allocations: 116.6 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.852e-05/0.1592, allocations: 184.3 kB / 0.5576 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-05/0.1593, allocations: 184.2 kB / 0.5577 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.368e-05/0.1593, allocations: 184.2 kB / 0.5579 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.1597, allocations: 441.2 kB / 0.5583 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-05/0.1597, allocations: 105 kB / 0.5584 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.1598, allocations: 104.9 kB / 0.5585 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.448e-05/0.1599, allocations: 184.3 kB / 0.5587 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.16, allocations: 180.3 kB / 0.5589 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.461e-05/0.16, allocations: 180.3 kB / 0.559 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.497e-05/0.1601, allocations: 184.2 kB / 0.5592 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1603, allocations: 319.7 kB / 0.5595 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1604, allocations: 186 kB / 0.5597 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.1605, allocations: 180.2 kB / 0.5599 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1606, allocations: 105 kB / 0.56 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.1607, allocations: 184.2 kB / 0.5602 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.1607, allocations: 108.9 kB / 0.5603 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.1608, allocations: 117.4 kB / 0.5604 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 0 / 0.5604 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1611, allocations: 12 kB / 0.5604 GB, free: 0.7695 MB / 414.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: 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.000562/0.1616, allocations: 0.8087 MB / 0.5612 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.1617, allocations: 31.81 kB / 0.5612 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1617, allocations: 0 / 0.5612 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1617, allocations: 0 / 0.5612 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1622, allocations: 463.6 kB / 0.5616 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1639, allocations: 1.592 MB / 0.5632 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1642, allocations: 0.6912 MB / 0.5639 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.1642, allocations: 7.984 kB / 0.5639 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1643, allocations: 23.44 kB / 0.5639 GB, free: 13 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1643, allocations: 0 / 0.5639 GB, free: 13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.1896, allocations: 1.614 MB / 0.5655 GB, free: 11.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.126, allocations: 0.9375 kB / 0.5655 GB, free: 11.46 MB / 430.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/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: 11.57277278508991]