Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.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.0008554/0.0008554, 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.0009299/0.0009299, 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.9014/0.9014, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2301/0.2301, allocations: 34.24 MB / 294.9 MB, free: 0.7227 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.854e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.1662/0.1663, allocations: 2.028 MB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1676, allocations: 1.276 MB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.1677, allocations: 3.094 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.1678, allocations: 26.16 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.1678, allocations: 41.95 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1682, allocations: 204.8 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1683, allocations: 175.8 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1685, allocations: 79.06 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1686, allocations: 125 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.1687, allocations: 66.22 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1687, allocations: 17.22 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1688, allocations: 151.2 kB / 446.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.1689, allocations: 47.97 kB / 446.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.1689, allocations: 59.06 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1691, allocations: 340.1 kB / 446.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1691, allocations: 0 / 446.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1691, allocations: 0 / 446.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1692, allocations: 0 / 446.8 MB, free: 42.48 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000369/0.1695, allocations: 459.5 kB / 447.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1696, allocations: 8.781 kB / 447.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.017e-05/0.1696, allocations: 91.03 kB / 447.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.1701, allocations: 85.41 kB / 447.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1703, allocations: 163.1 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1703, allocations: 22.5 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1703, allocations: 32.09 kB / 447.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1705, allocations: 230.9 kB / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1705, allocations: 192 / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1705, allocations: 18.94 kB / 447.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1706, allocations: 8.625 kB / 447.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1707, allocations: 163.5 kB / 448.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1712, allocations: 0.5584 MB / 448.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1715, allocations: 224.8 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.706e-05/0.1716, allocations: 62.58 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1716, allocations: 3.078 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.1716, allocations: 44.98 kB / 448.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.1716, allocations: 0 / 448.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002862/0.1719, allocations: 207.5 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.1719, allocations: 54.22 kB / 449.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.772e-05/0.172, allocations: 105.8 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.172, allocations: 33.7 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.172, allocations: 157 kB / 449.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.172, allocations: 93.11 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1721, allocations: 43.05 kB / 449.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.1721, allocations: 324.8 kB / 449.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.1722, allocations: 40.3 kB / 450 MB, free: 40.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.1722, allocations: 50.98 kB / 450 MB, free: 40.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1723, allocations: 120.5 kB / 450.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1723, allocations: 0 / 450.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001434/0.1725, allocations: 168.3 kB / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1725, allocations: 6 kB / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1725, allocations: 0 / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1725, allocations: 2.938 kB / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1727, allocations: 98.97 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1727, allocations: 2.844 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.1727, allocations: 22.61 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1727, allocations: 13.62 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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 6.895e-05/0.1728, allocations: 124.2 kB / 450.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.1728, allocations: 13.62 kB / 450.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.1728, allocations: 31.7 kB / 450.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1728, allocations: 2.938 kB / 450.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1729, allocations: 0 / 450.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1729, allocations: 0 / 450.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.173, allocations: 244.6 kB / 450.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.173, allocations: 0 / 450.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1732, allocations: 103.2 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1732, allocations: 2.906 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1732, allocations: 4 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1732, allocations: 5.25 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1732, allocations: 2.906 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1733, allocations: 274 kB / 451.2 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.1733, allocations: 15.88 kB / 451.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1734, allocations: 11.03 kB / 451.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.1734, allocations: 3.062 kB / 451.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.1734, allocations: 19.56 kB / 451.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1734, allocations: 2.875 kB / 451.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.646e-05/0.1734, allocations: 92.03 kB / 451.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1734, allocations: 0 / 451.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.1736, allocations: 60.38 kB / 451.4 MB, free: 39.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 (27): * Single equations (assignments): 27 * 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.0003209/0.1739, allocations: 0.8672 MB / 452.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1741, allocations: 130.2 kB / 452.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1741, allocations: 0 / 452.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.1741, allocations: 72.94 kB / 452.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.1743, allocations: 13.67 kB / 452.5 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1754, allocations: 1.944 MB / 454.5 MB, free: 37.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.758e-05/0.1755, allocations: 135.8 kB / 454.6 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.1755, allocations: 14.7 kB / 454.6 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.1756, allocations: 70 kB / 454.7 MB, free: 37.05 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1756, allocations: 4 kB / 454.7 MB, free: 37.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.19, allocations: 3.34 MB / 458 MB, free: 36.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.834, allocations: 11.38 kB / 458 MB, free: 36.03 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.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.78176445979625]