Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001252/0.001252, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001703/0.001703, allocations: 211.5 kB / 25.13 MB, free: 3.605 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.428/1.428, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.94 MB / 362.1 MB, free: 4.223 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3336, allocations: 66.08 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002431/0.336, allocations: 1.222 MB / 0.5635 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.3368, allocations: 427.9 kB / 0.5639 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.465e-05/0.3368, allocations: 0 / 0.5639 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.3369, allocations: 0 / 0.5639 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.974e-05/0.3369, allocations: 0 / 0.5639 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.3374, allocations: 79.72 kB / 0.564 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.3375, allocations: 4 kB / 0.564 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.3375, allocations: 0 / 0.564 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.3375, allocations: 0 / 0.564 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3378, allocations: 43.89 kB / 0.564 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.3378, allocations: 0 / 0.564 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.3378, allocations: 4 kB / 0.5641 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.3378, allocations: 0 / 0.5641 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.3379, allocations: 7.938 kB / 0.5641 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.244e-05/0.3379, allocations: 15.78 kB / 0.5641 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.338, allocations: 4 kB / 0.5641 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.338, allocations: 0 / 0.5641 GB, free: 2.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.338, allocations: 0 / 0.5641 GB, free: 2.465 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.0002819/0.3382, allocations: 234.5 kB / 0.5643 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3383, allocations: 12.03 kB / 0.5643 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.3384, allocations: 4.922 kB / 0.5643 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.999e-05/0.3385, allocations: 110.5 kB / 0.5644 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3385, allocations: 4.359 kB / 0.5644 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.3385, allocations: 384 / 0.5644 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3386, allocations: 59.97 kB / 0.5645 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3387, allocations: 192 / 0.5645 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3387, allocations: 3.938 kB / 0.5645 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3387, allocations: 0 / 0.5645 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.3387, allocations: 0 / 0.5645 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.339, allocations: 354.5 kB / 0.5648 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.3391, allocations: 173.1 kB / 0.565 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.3392, allocations: 80.14 kB / 0.5651 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.3392, allocations: 79.22 kB / 0.5651 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.3393, allocations: 117.9 kB / 0.5653 GB, free: 1.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3393, allocations: 0 / 0.5653 GB, free: 1.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.517e-05/0.3393, allocations: 33.59 kB / 0.5653 GB, free: 1.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.3394, allocations: 130.7 kB / 0.5654 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.3395, allocations: 93.86 kB / 0.5655 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.3395, allocations: 29.64 kB / 0.5655 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.3396, allocations: 83.8 kB / 0.5656 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.3396, allocations: 0 / 0.5656 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.3396, allocations: 9.719 kB / 0.5656 GB, free: 0.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3397, allocations: 318.8 kB / 0.5659 GB, free: 396 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.3397, allocations: 4.125 kB / 0.5659 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.3397, allocations: 3.984 kB / 0.5659 GB, free: 388 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/0.3398, allocations: 8.891 kB / 0.5659 GB, free: 376 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3398, allocations: 4 kB / 0.5659 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.594e-05/0.3399, allocations: 37.58 kB / 0.566 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3399, allocations: 4 kB / 0.566 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3399, allocations: 0 / 0.566 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3399, allocations: 0 / 0.566 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.944e-05/0.3399, allocations: 4 kB / 0.566 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3399, allocations: 4.094 kB / 0.566 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.3399, allocations: 0 / 0.566 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3399, allocations: 0 / 0.566 GB, free: 316 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.0001125/0.3401, allocations: 193 kB / 0.5662 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.3402, allocations: 109 kB / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.3402, allocations: 107.8 kB / 0.5664 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.385e-05/0.3403, allocations: 180.3 kB / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.331e-05/0.3404, allocations: 180.2 kB / 0.5667 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.828e-05/0.3404, allocations: 184.2 kB / 0.5669 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.3407, allocations: 381.2 kB / 0.5673 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-05/0.3407, allocations: 101 kB / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.3408, allocations: 105 kB / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.3409, allocations: 188.2 kB / 0.5676 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.3409, allocations: 176.3 kB / 0.5678 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-05/0.341, allocations: 184.2 kB / 0.568 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-05/0.3411, allocations: 180.3 kB / 0.5682 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3412, allocations: 315.8 kB / 0.5685 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.3413, allocations: 109 kB / 0.5686 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.3414, allocations: 184.2 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.3415, allocations: 101 kB / 0.5688 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.3415, allocations: 180.3 kB / 0.569 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.3416, allocations: 108.9 kB / 0.5691 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.31e-05/0.3416, allocations: 79.28 kB / 0.5692 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 0 / 0.5692 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.3419, allocations: 4 kB / 0.5692 GB, free: 12.83 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.0001274/0.342, allocations: 166.5 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.3421, allocations: 8 kB / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3421, allocations: 0 / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3421, allocations: 3.938 kB / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3424, allocations: 463.7 kB / 0.5698 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.3427, allocations: 161 kB / 0.57 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3429, allocations: 0.669 MB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.343, allocations: 4 kB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.343, allocations: 7.438 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.343, allocations: 4 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Templates: time 0.002127/0.3451, allocations: 168.8 kB / 0.5708 GB, free: 11.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.843831206206232]