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.0008016/0.0008016, allocations: 79.7 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.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.0008421/0.0008421, allocations: 174.3 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.885/0.885, allocations: 177.1 MB / 204.2 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2275/0.2275, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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 1.673e-06/1.673e-06, allocations: 0 / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.555e-05, allocations: 6.281 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002487/0.002503, allocations: 1.664 MB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1737/0.1762, allocations: 74.36 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.1763, allocations: 2.969 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.048e-05/0.1764, allocations: 12.61 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.1764, allocations: 24.66 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.552e-05/0.1765, allocations: 26.09 kB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1766, allocations: 106.6 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1768, allocations: 41.02 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.1768, allocations: 63.28 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.1769, allocations: 33.19 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.1769, allocations: 11.03 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.1769, allocations: 10.62 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.177, allocations: 25.38 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.177, allocations: 37.2 kB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1771, allocations: 124 kB / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1771, allocations: 0 / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1771, allocations: 1.938 kB / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1771, allocations: 2.688 kB / 444.4 MB, free: 43.19 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.000355/0.1775, allocations: 323.9 kB / 444.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1775, allocations: 8.625 kB / 444.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.1776, allocations: 51.78 kB / 444.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.1776, allocations: 10.39 kB / 444.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.597e-05/0.1776, allocations: 118.7 kB / 444.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1777, allocations: 7.766 kB / 444.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1777, allocations: 13.41 kB / 444.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1778, allocations: 126.5 kB / 445 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1778, allocations: 192 / 445 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1778, allocations: 4.25 kB / 445 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1778, allocations: 6.875 kB / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.1779, allocations: 70.2 kB / 445.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1784, allocations: 0.6684 MB / 445.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.1784, allocations: 172.1 kB / 446 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.201e-05/0.1784, allocations: 80.14 kB / 446 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.1784, allocations: 79.22 kB / 446.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.1784, allocations: 108.8 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1784, allocations: 0.5625 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.775e-05/0.1785, allocations: 35.38 kB / 446.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.1785, allocations: 126.7 kB / 446.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.1786, allocations: 157.5 kB / 446.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-06/0.1786, allocations: 25.7 kB / 446.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.1786, allocations: 121.4 kB / 446.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.1786, allocations: 2.344 kB / 446.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.1786, allocations: 25.36 kB / 446.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.61e-05/0.1787, allocations: 320.2 kB / 447 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.1787, allocations: 14.44 kB / 447 MB, free: 40.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.1787, allocations: 44.44 kB / 447.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.1787, allocations: 55.75 kB / 447.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1787, allocations: 0 / 447.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001028/0.1788, allocations: 73.94 kB / 447.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1789, allocations: 5.781 kB / 447.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1789, allocations: 9.375 kB / 447.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1789, allocations: 0 / 447.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.1789, allocations: 11.28 kB / 447.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1789, allocations: 6.875 kB / 447.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.179, allocations: 10.77 kB / 447.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.179, allocations: 2.844 kB / 447.2 MB, free: 40.78 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 4.156e-05/0.179, allocations: 202.7 kB / 447.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.179, allocations: 110.9 kB / 447.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.179, allocations: 111.4 kB / 447.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.1791, allocations: 183.2 kB / 447.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.1791, allocations: 183.5 kB / 448 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.1791, allocations: 182.7 kB / 448.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.947e-05/0.1792, allocations: 405.1 kB / 448.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.1792, allocations: 107.5 kB / 448.7 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.1792, allocations: 101 kB / 448.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.1792, allocations: 194.6 kB / 449 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1792, allocations: 183.7 kB / 449.2 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.1792, allocations: 179.2 kB / 449.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.506e-05/0.1793, allocations: 180.2 kB / 449.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.627e-05/0.1793, allocations: 319.4 kB / 449.8 MB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.1793, allocations: 109.1 kB / 449.9 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1793, allocations: 181.4 kB / 450.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.1794, allocations: 110.8 kB / 450.2 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.1794, allocations: 176.3 kB / 450.4 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1794, allocations: 111.5 kB / 450.5 MB, free: 37.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.578e-05/0.1794, allocations: 110.3 kB / 450.6 MB, free: 37.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1794, allocations: 0 / 450.6 MB, free: 37.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.1796, allocations: 24.62 kB / 450.6 MB, free: 37.36 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.0001413/0.1797, allocations: 0.8098 MB / 451.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.576e-05/0.1798, allocations: 18.34 kB / 451.5 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1798, allocations: 0 / 451.5 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.1798, allocations: 0 / 451.5 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.18, allocations: 467.9 kB / 451.9 MB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.1807, allocations: 1.585 MB / 453.5 MB, free: 34.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.1807, allocations: 80.12 kB / 453.6 MB, free: 34.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.128e-05/0.1808, allocations: 5.844 kB / 453.6 MB, free: 34.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1808, allocations: 25.94 kB / 453.6 MB, free: 34.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1808, allocations: 0 / 453.6 MB, free: 34.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1948, allocations: 2.25 MB / 455.9 MB, free: 33.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.023, allocations: 8.375 kB / 455.9 MB, free: 33.71 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/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: 9.030451906844974]