Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001536/0.001536, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001876/0.001876, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.535/1.535, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2356/0.2356, allocations: 46.92 MB / 357.8 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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.89 kB / 0.4921 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1354, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00256/0.138, allocations: 1.212 MB / 0.5577 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.1388, allocations: 423.5 kB / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.1388, allocations: 0 / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.1389, allocations: 0 / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.1389, allocations: 0 / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.1394, allocations: 67.75 kB / 0.5582 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.1394, allocations: 8 kB / 0.5582 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1395, allocations: 3.984 kB / 0.5582 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.1395, allocations: 7.875 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1397, allocations: 39.95 kB / 0.5582 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1397, allocations: 0 / 0.5582 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.1398, allocations: 8 kB / 0.5582 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.1398, allocations: 0 / 0.5582 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.1398, allocations: 4 kB / 0.5582 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.529e-05/0.1399, allocations: 11.98 kB / 0.5582 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1399, allocations: 4 kB / 0.5582 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1399, allocations: 0 / 0.5582 GB, free: 3.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1399, allocations: 0 / 0.5582 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003207/0.1402, allocations: 319.5 kB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1403, allocations: 8.031 kB / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1404, allocations: 4.938 kB / 0.5586 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1405, allocations: 164.4 kB / 0.5587 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1405, allocations: 384 / 0.5587 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1406, allocations: 4.375 kB / 0.5587 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.1407, allocations: 34.27 kB / 0.5588 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1407, allocations: 192 / 0.5588 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1407, allocations: 3.938 kB / 0.5588 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1407, allocations: 0 / 0.5588 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.1407, allocations: 4 kB / 0.5588 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1411, allocations: 383.5 kB / 0.5591 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1412, allocations: 177 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.1412, allocations: 80.14 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.1412, allocations: 75.28 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.1413, allocations: 105.8 kB / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1413, allocations: 0 / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.443e-05/0.1414, allocations: 37.59 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.1414, allocations: 138.7 kB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.1415, allocations: 89.86 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1415, allocations: 25.7 kB / 0.5598 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.1416, allocations: 80.14 kB / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.1416, allocations: 0 / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1416, allocations: 13.72 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1418, allocations: 310.8 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-06/0.1418, allocations: 128 / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.1418, allocations: 16 kB / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.1418, allocations: 4.859 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1418, allocations: 0 / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.137e-05/0.1419, allocations: 41.56 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1419, allocations: 10.03 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1419, allocations: 0 / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1419, allocations: 3.938 kB / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.421e-05/0.1419, allocations: 0 / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.142, allocations: 4.094 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.142, allocations: 0 / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.142, allocations: 4 kB / 0.5603 GB, free: 1.207 MB / 414.1 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 (1): * Single equations (assignments): 1 * 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.000106/0.1421, allocations: 187.2 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.1421, allocations: 101 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.1422, allocations: 123.8 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.1423, allocations: 180.3 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.083e-05/0.1424, allocations: 184.2 kB / 0.561 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.502e-05/0.1424, allocations: 176.3 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1427, allocations: 409.2 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/0.1428, allocations: 104.9 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1428, allocations: 101 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.123e-05/0.1429, allocations: 184.2 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.143, allocations: 184.4 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.946e-05/0.1431, allocations: 184.2 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.94e-05/0.1431, allocations: 180.2 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.1433, allocations: 315.7 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.1434, allocations: 182.1 kB / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.1435, allocations: 184.2 kB / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.1436, allocations: 105 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.1437, allocations: 180.3 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.1437, allocations: 104.9 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.1438, allocations: 87.27 kB / 0.5636 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1438, allocations: 0 / 0.5636 GB, free: 13.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.144, allocations: 0 / 0.5636 GB, free: 13.61 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.0001352/0.1441, allocations: 172.6 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.621e-05/0.1442, allocations: 0 / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1442, allocations: 0 / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.1442, allocations: 4 kB / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1446, allocations: 470.3 kB / 0.5642 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.1449, allocations: 178.6 kB / 0.5644 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1452, allocations: 0.6729 MB / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.1452, allocations: 7.438 kB / 0.565 GB, free: 12.04 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1452, allocations: 4 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of Templates: time 0.00168/0.1469, allocations: 319.8 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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: 7.421067404007772]