Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009697/0.0009697, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9671/0.9671, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3039/0.3039, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.16e-05, allocations: 6.469 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001845/0.001866, allocations: 1.243 MB / 327.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.002623, allocations: 428.8 kB / 327.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.002643, allocations: 0 / 327.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.00266, allocations: 0 / 327.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.094e-05/0.002691, allocations: 7.938 kB / 327.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.003222, allocations: 71.73 kB / 327.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.003272, allocations: 4.625 kB / 327.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.003311, allocations: 4 kB / 327.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.297e-05/0.003344, allocations: 4 kB / 327.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.003534, allocations: 31.95 kB / 327.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003546, allocations: 0 / 327.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.003614, allocations: 11.94 kB / 327.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.003623, allocations: 0 / 327.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.172e-05/0.003635, allocations: 8 kB / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.127e-05/0.003706, allocations: 11.92 kB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003709, allocations: 0 / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00371, allocations: 0 / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003714, allocations: 0 / 327.7 MB, free: 5.348 MB / 298.7 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.0002051/0.003919, allocations: 216.8 kB / 327.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.003948, allocations: 12.03 kB / 328 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.004051, allocations: 4.938 kB / 328 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.369e-05/0.004105, allocations: 105.7 kB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.004114, allocations: 384 / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004122, allocations: 4.375 kB / 328.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.004203, allocations: 59.95 kB / 328.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.004209, allocations: 192 / 328.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.004214, allocations: 384 / 328.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.004217, allocations: 384 / 328.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-06/0.004226, allocations: 7.938 kB / 328.1 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.004425, allocations: 282.9 kB / 328.4 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.004489, allocations: 177.1 kB / 328.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.004513, allocations: 84.12 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.004543, allocations: 75.28 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.004579, allocations: 117.8 kB / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.00458, allocations: 0 / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.114e-05/0.004631, allocations: 33.64 kB / 328.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.004679, allocations: 130.6 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.004747, allocations: 99.39 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.004755, allocations: 25.7 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.004799, allocations: 89.12 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.0048, allocations: 0 / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.004821, allocations: 9.719 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.004897, allocations: 322.8 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-06/0.004901, allocations: 128 / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.004906, allocations: 4 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.00493, allocations: 12.86 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.004932, allocations: 0 / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.664e-05/0.004989, allocations: 33.64 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005, allocations: 4 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.005004, allocations: 0 / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.005013, allocations: 0 / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.115e-05/0.005045, allocations: 7.938 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005047, allocations: 0 / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.005058, allocations: 8.031 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.005063, allocations: 0 / 329.6 MB, free: 3.293 MB / 298.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 (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 6.741e-05/0.005131, allocations: 189.1 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.005169, allocations: 101 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.005202, allocations: 107.9 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/0.00525, allocations: 180.3 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/0.005297, allocations: 188.2 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/0.005341, allocations: 180.2 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.005489, allocations: 322.2 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/0.005515, allocations: 104.9 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.00554, allocations: 105 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.373e-05/0.005593, allocations: 188.2 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.005641, allocations: 176.3 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.472e-05/0.005686, allocations: 180.3 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.036e-05/0.005736, allocations: 180.2 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.005842, allocations: 311.7 kB / 332.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.005877, allocations: 105 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.005925, allocations: 176.3 kB / 332.3 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.005975, allocations: 104.9 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.006023, allocations: 180.6 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.006068, allocations: 113 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.71e-05/0.006085, allocations: 12.77 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006085, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.006201, allocations: 4 kB / 332.8 MB, free: 15.98 MB / 314.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 9.867e-05/0.006299, allocations: 147.7 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.498e-05/0.006354, allocations: 16.8 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.006359, allocations: 0 / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.006361, allocations: 0 / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.00657, allocations: 467.8 kB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.006765, allocations: 167.4 kB / 333.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.006793, allocations: 51.36 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.006813, allocations: 0 / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.006848, allocations: 47.38 kB / 333.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.006849, allocations: 0 / 333.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of Templates: time 0.001514/0.008363, allocations: 205.2 kB / 333.8 MB, free: 14.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9241934455931187]