Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001269/0.001269, allocations: 120.4 kB / 17.79 MB, free: 5.344 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.00138/0.00138, allocations: 203.3 kB / 20.74 MB, free: 2.398 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.479/1.479, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 71.89 kB / 0.4909 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1654, allocations: 65.99 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003552/0.1689, allocations: 1.731 MB / 0.557 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001926/0.1691, allocations: 75.67 kB / 0.5571 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.1692, allocations: 4 kB / 0.5571 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.254e-05/0.1692, allocations: 19.84 kB / 0.5571 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.444e-05/0.1693, allocations: 23.78 kB / 0.5572 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.1695, allocations: 23.97 kB / 0.5572 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1696, allocations: 107.5 kB / 0.5573 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1698, allocations: 43.97 kB / 0.5573 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.1699, allocations: 43.84 kB / 0.5574 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.17, allocations: 47.78 kB / 0.5574 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.17, allocations: 8 kB / 0.5574 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.1701, allocations: 12 kB / 0.5574 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1701, allocations: 27.92 kB / 0.5575 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.1702, allocations: 47.8 kB / 0.5575 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1704, allocations: 123.5 kB / 0.5576 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1704, allocations: 0 / 0.5576 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1704, allocations: 0 / 0.5576 GB, free: 3.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1704, allocations: 0 / 0.5576 GB, free: 3.535 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.0006404/0.171, allocations: 401 kB / 0.558 GB, free: 3.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.1711, allocations: 8.031 kB / 0.558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.1712, allocations: 46.73 kB / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1712, allocations: 16.84 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1714, allocations: 172.3 kB / 0.5582 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1714, allocations: 8.609 kB / 0.5582 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1714, allocations: 12.38 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1717, allocations: 135.9 kB / 0.5584 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1717, allocations: 3.938 kB / 0.5584 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1718, allocations: 0 / 0.5584 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1718, allocations: 4 kB / 0.5584 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1719, allocations: 67.91 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.1729, allocations: 0.7274 MB / 0.5592 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.173, allocations: 165.1 kB / 0.5593 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.173, allocations: 84.14 kB / 0.5594 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.1731, allocations: 79.28 kB / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.311e-05/0.1732, allocations: 109.8 kB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.1732, allocations: 0 / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.994e-05/0.1733, allocations: 37.58 kB / 0.5596 GB, free: 1.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1734, allocations: 130.7 kB / 0.5597 GB, free: 1.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1736, allocations: 153.5 kB / 0.5599 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1736, allocations: 25.7 kB / 0.5599 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1737, allocations: 123.8 kB / 0.56 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-06/0.1737, allocations: 4 kB / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.1737, allocations: 21.67 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.174, allocations: 314.8 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.174, allocations: 11.98 kB / 0.5604 GB, free: 472 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.1741, allocations: 45.28 kB / 0.5604 GB, free: 408 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.1741, allocations: 61.03 kB / 0.5605 GB, free: 328 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1741, allocations: 4 kB / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001608/0.1743, allocations: 69.56 kB / 0.5605 GB, free: 248 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1743, allocations: 9.859 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1743, allocations: 4 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1744, allocations: 0 / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.1744, allocations: 12 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1744, allocations: 192 / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.1745, allocations: 19.83 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1745, allocations: 7.984 kB / 0.5606 GB, free: 196 kB / 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.0002274/0.1747, allocations: 195.2 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.1748, allocations: 112.9 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.175, allocations: 116.7 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-05/0.1751, allocations: 184.2 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001769/0.1752, allocations: 180.3 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/0.1753, allocations: 184.2 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.1757, allocations: 445.2 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.622e-05/0.1758, allocations: 101 kB / 0.562 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.1758, allocations: 108.9 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.1759, allocations: 180.3 kB / 0.5623 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.176, allocations: 180.2 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001001/0.1761, allocations: 176.3 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001125/0.1762, allocations: 188.2 kB / 0.5628 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1765, allocations: 311.7 kB / 0.5631 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1766, allocations: 198 kB / 0.5633 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.1767, allocations: 176.3 kB / 0.5635 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1769, allocations: 104.9 kB / 0.5636 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.177, allocations: 184.2 kB / 0.5638 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.177, allocations: 108.9 kB / 0.5639 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1771, allocations: 111.2 kB / 0.564 GB, free: 12.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1771, allocations: 4 kB / 0.564 GB, free: 12.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1774, allocations: 19.94 kB / 0.564 GB, free: 12.48 MB / 430.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.0006347/0.1781, allocations: 0.8009 MB / 0.5648 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1782, allocations: 27.92 kB / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1782, allocations: 3.938 kB / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1782, allocations: 0 / 0.5648 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.1787, allocations: 465.8 kB / 0.5653 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1805, allocations: 1.582 MB / 0.5668 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1808, allocations: 0.6924 MB / 0.5675 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.1809, allocations: 7.984 kB / 0.5675 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.1809, allocations: 19.44 kB / 0.5675 GB, free: 8.719 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1809, allocations: 0 / 0.5675 GB, free: 8.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.2074, allocations: 1.603 MB / 0.5691 GB, free: 7.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.862, allocations: 15.69 kB / 0.5691 GB, free: 7.184 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.990368483995553]