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.002611/0.002611, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002574/0.002574, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.57/1.57, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3429/0.3429, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 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.753e-06/1.753e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.244e-05, allocations: 4.703 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002563/0.002596, allocations: 1.224 MB / 378.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.003516, allocations: 427.8 kB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.003529, allocations: 0 / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.003543, allocations: 0 / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.241e-05/0.003575, allocations: 0 / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.004112, allocations: 79.59 kB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.004164, allocations: 4 kB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.004196, allocations: 4 kB / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.004228, allocations: 4 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.00445, allocations: 35.95 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.00446, allocations: 0 / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.004515, allocations: 4 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.004526, allocations: 4 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.00454, allocations: 0 / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.004618, allocations: 11.98 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004621, allocations: 0 / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004622, allocations: 0 / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.004627, allocations: 4 kB / 379 MB, free: 1.109 MB / 346.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.0003713/0.004998, allocations: 344.4 kB / 379.3 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.005035, allocations: 8.031 kB / 379.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.00519, allocations: 8.922 kB / 379.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.005289, allocations: 104.6 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.0053, allocations: 384 / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.005316, allocations: 4.375 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005424, allocations: 59.91 kB / 379.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.005432, allocations: 192 / 379.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.00544, allocations: 4.312 kB / 379.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.005444, allocations: 4.375 kB / 379.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.005465, allocations: 7.938 kB / 379.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.005936, allocations: 474.2 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.006139, allocations: 261.4 kB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.006214, allocations: 126.9 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.006285, allocations: 127.1 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.08e-05/0.006376, allocations: 152.6 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.006377, allocations: 0 / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.706e-05/0.006454, allocations: 33.62 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.006563, allocations: 178.6 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.006698, allocations: 153.9 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.006715, allocations: 25.7 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.006803, allocations: 130.8 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-06/0.006807, allocations: 3.984 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.006844, allocations: 19.38 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.007115, allocations: 492.1 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.007122, allocations: 0 / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-06/0.007132, allocations: 7.938 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.00716, allocations: 15.69 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.007162, allocations: 4.188 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000102/0.007264, allocations: 37.69 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.007278, allocations: 4 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.007284, allocations: 3.938 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.007295, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.512e-05/0.00733, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.007334, allocations: 4 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.007344, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.007348, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.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 0.0001696/0.007517, allocations: 275.7 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.007621, allocations: 156.9 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.007718, allocations: 155.8 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001457/0.007863, allocations: 268 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001581/0.008021, allocations: 268.1 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001464/0.008168, allocations: 272 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.00852, allocations: 499.9 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-05/0.0086, allocations: 144.9 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.00894, allocations: 148.8 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.009086, allocations: 268.1 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.009232, allocations: 268 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001484/0.00938, allocations: 272 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001545/0.009535, allocations: 272.1 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.009811, allocations: 448 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.009915, allocations: 152.8 kB / 385.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.01006, allocations: 268.1 kB / 385.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.01018, allocations: 148.8 kB / 385.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.01033, allocations: 272.3 kB / 386.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.01042, allocations: 148.9 kB / 386.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.01049, allocations: 119.2 kB / 386.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01049, allocations: 0 / 386.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.0107, allocations: 0 / 386.5 MB, free: 9.234 MB / 362.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.0001945/0.01089, allocations: 222.5 kB / 386.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.962e-05/0.01097, allocations: 15.66 kB / 386.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01097, allocations: 0 / 386.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.399e-06/0.01098, allocations: 4 kB / 386.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.01155, allocations: 0.7052 MB / 387.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.01187, allocations: 211 kB / 387.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.01193, allocations: 63.33 kB / 387.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.681e-05/0.01195, allocations: 0 / 387.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.01198, allocations: 12.56 kB / 387.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01198, allocations: 0 / 387.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of Templates: time 0.002509/0.01449, allocations: 184.9 kB / 387.9 MB, free: 7.766 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 4.740070448955521]