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.0008524/0.0008524, 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.0008058/0.0008058, 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.89/0.89, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.259/0.259, allocations: 34.23 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.943e-06/1.943e-06, allocations: 0 / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.141e-05, allocations: 2.281 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002573/0.002594, allocations: 1.668 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1669/0.1695, allocations: 68.45 kB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.1695, allocations: 2.594 kB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.986e-05/0.1696, allocations: 18.91 kB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.1696, allocations: 24.27 kB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.348e-05/0.1697, allocations: 27.03 kB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.1698, allocations: 103.1 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.17, allocations: 42.58 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.17, allocations: 65.48 kB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.1701, allocations: 28.73 kB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1701, allocations: 11.69 kB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.1701, allocations: 10.97 kB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.1701, allocations: 26.12 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.1701, allocations: 40.83 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1703, allocations: 121.4 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1703, allocations: 2.656 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1703, allocations: 0 / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1703, allocations: 0 / 444.4 MB, free: 43.23 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.0003082/0.1706, allocations: 325.9 kB / 444.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1706, allocations: 8.656 kB / 444.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.1706, allocations: 44.48 kB / 444.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.1707, allocations: 10.73 kB / 444.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.976e-05/0.1707, allocations: 121.5 kB / 444.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1707, allocations: 10.14 kB / 444.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1708, allocations: 13.72 kB / 444.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1709, allocations: 127.2 kB / 445 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1709, allocations: 192 / 445 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1709, allocations: 6.938 kB / 445 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1709, allocations: 7.031 kB / 445.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.171, allocations: 67.03 kB / 445.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1714, allocations: 0.6688 MB / 445.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.1715, allocations: 171.6 kB / 446 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.1715, allocations: 80.14 kB / 446 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.1715, allocations: 78 kB / 446.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.1715, allocations: 107.2 kB / 446.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1715, allocations: 0 / 446.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.206e-05/0.1716, allocations: 36.34 kB / 446.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1716, allocations: 132.7 kB / 446.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.1716, allocations: 149.9 kB / 446.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-06/0.1717, allocations: 25.7 kB / 446.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.1717, allocations: 126 kB / 446.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.1717, allocations: 2.656 kB / 446.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.1717, allocations: 22.61 kB / 446.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.541e-05/0.1717, allocations: 324.5 kB / 447 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.1718, allocations: 9.625 kB / 447 MB, free: 40.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.1718, allocations: 45.59 kB / 447.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.1718, allocations: 53.22 kB / 447.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1718, allocations: 3.938 kB / 447.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.792e-05/0.1719, allocations: 78.94 kB / 447.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1719, allocations: 7.562 kB / 447.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1719, allocations: 3.766 kB / 447.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1719, allocations: 3 kB / 447.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.172, allocations: 8.75 kB / 447.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.172, allocations: 2.875 kB / 447.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.172, allocations: 14.36 kB / 447.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.172, allocations: 3.156 kB / 447.2 MB, free: 40.82 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.168e-05/0.1721, allocations: 202.7 kB / 447.4 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.1721, allocations: 111.8 kB / 447.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.1721, allocations: 111.3 kB / 447.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.1721, allocations: 187.9 kB / 447.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.1721, allocations: 179.3 kB / 448 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.1721, allocations: 176.3 kB / 448.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.1722, allocations: 413.4 kB / 448.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.1722, allocations: 101 kB / 448.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-06/0.1722, allocations: 107.9 kB / 448.8 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.1723, allocations: 187.6 kB / 449 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1723, allocations: 187.2 kB / 449.2 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.1723, allocations: 180.2 kB / 449.3 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.1723, allocations: 179.2 kB / 449.5 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.462e-05/0.1723, allocations: 312.9 kB / 449.8 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.1724, allocations: 117.1 kB / 449.9 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1724, allocations: 187.7 kB / 450.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.1724, allocations: 101 kB / 450.2 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.1724, allocations: 183.2 kB / 450.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1724, allocations: 101 kB / 450.5 MB, free: 37.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.1725, allocations: 111 kB / 450.6 MB, free: 37.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1725, allocations: 4 kB / 450.6 MB, free: 37.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.1726, allocations: 18.69 kB / 450.6 MB, free: 37.41 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.0001295/0.1728, allocations: 0.8111 MB / 451.4 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.231e-05/0.1728, allocations: 18.91 kB / 451.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1728, allocations: 0 / 451.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.1728, allocations: 2.688 kB / 451.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.173, allocations: 467.6 kB / 451.9 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.1737, allocations: 1.58 MB / 453.5 MB, free: 34.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.1737, allocations: 81.39 kB / 453.6 MB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.215e-05/0.1737, allocations: 6.578 kB / 453.6 MB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1738, allocations: 24.62 kB / 453.6 MB, free: 34.64 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1738, allocations: 0 / 453.6 MB, free: 34.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.1898, allocations: 2.253 MB / 455.9 MB, free: 33.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.526/6.716, allocations: 9.938 kB / 455.9 MB, free: 33.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.675994544290006]