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.001531/0.001531, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.001509/0.001509, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 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.2331/0.2331, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 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 0.00366/0.00366, allocations: 79.88 kB / 0.4966 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3259, allocations: 66.09 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00276/0.3286, allocations: 1.214 MB / 0.5624 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3297, allocations: 407.9 kB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.3297, allocations: 4 kB / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.3297, allocations: 0 / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.44e-05/0.3297, allocations: 0 / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.3302, allocations: 71.73 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.325e-05/0.3303, allocations: 8 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.3303, allocations: 0 / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.3303, allocations: 4 kB / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3306, allocations: 35.95 kB / 0.5629 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.3306, allocations: 8 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.3306, allocations: 4 kB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.3306, allocations: 0 / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.388e-05/0.3307, allocations: 0 / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.864e-05/0.3307, allocations: 19.7 kB / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3308, allocations: 0 / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3308, allocations: 0 / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3308, allocations: 0 / 0.5629 GB, free: 2.188 MB / 398.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.0003706/0.3311, allocations: 242.5 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3312, allocations: 15.95 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3313, allocations: 4.938 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.3314, allocations: 106.5 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3314, allocations: 384 / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3314, allocations: 384 / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3315, allocations: 59.97 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3316, allocations: 192 / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3316, allocations: 3.938 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3316, allocations: 0 / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.3316, allocations: 7.984 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3319, allocations: 331.1 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.332, allocations: 165.1 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.3321, allocations: 84.14 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.64e-05/0.3322, allocations: 79.22 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.3322, allocations: 109.8 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3322, allocations: 0 / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.77e-05/0.3323, allocations: 37.58 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3324, allocations: 126.7 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3325, allocations: 101.8 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3325, allocations: 25.7 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3327, allocations: 83.8 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.3327, allocations: 0 / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3327, allocations: 17.84 kB / 0.5644 GB, free: 464 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3329, allocations: 310.8 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.3329, allocations: 0 / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-06/0.3329, allocations: 4 kB / 0.5647 GB, free: 140 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.3329, allocations: 16.88 kB / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3329, allocations: 0 / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.333, allocations: 41.52 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3331, allocations: 8 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3331, allocations: 0 / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3331, allocations: 4.094 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.3331, allocations: 0 / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3331, allocations: 0 / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.3331, allocations: 4 kB / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3332, allocations: 0 / 0.5648 GB, free: 56 kB / 398.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.000208/0.3334, allocations: 181.1 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3335, allocations: 108.9 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.3335, allocations: 115.7 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-05/0.3336, allocations: 184.3 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.374e-05/0.3337, allocations: 180.2 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001547/0.3339, allocations: 184.2 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3341, allocations: 353.9 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-05/0.3342, allocations: 108.9 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.3343, allocations: 105 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.396e-05/0.3344, allocations: 184.1 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.3345, allocations: 184.2 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.254e-05/0.3345, allocations: 176.3 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.372e-05/0.3346, allocations: 180.2 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3348, allocations: 308 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.3349, allocations: 112.9 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.335, allocations: 180.3 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.3351, allocations: 112.9 kB / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3352, allocations: 180.3 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.3353, allocations: 104.9 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.709e-05/0.3353, allocations: 83.27 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3353, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3356, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.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.0001544/0.3357, allocations: 166.5 kB / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.3358, allocations: 4 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3358, allocations: 3.938 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.3358, allocations: 4.156 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.3362, allocations: 468 kB / 0.5686 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.3365, allocations: 152.9 kB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.3366, allocations: 63.28 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.643e-05/0.3366, allocations: 0 / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3367, allocations: 7.438 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3367, allocations: 0 / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Templates: time 0.002407/0.3391, allocations: 160.8 kB / 0.569 GB, free: 11.54 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] 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.890326537191868]