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.001387/0.001387, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001498/0.001498, allocations: 209 kB / 24.48 MB, free: 3.938 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2282/0.2282, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.002061/0.002061, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3214, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002478/0.3239, allocations: 1.21 MB / 0.563 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.3247, allocations: 411.9 kB / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.3248, allocations: 0 / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.3248, allocations: 0 / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.3248, allocations: 4 kB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.3253, allocations: 71.73 kB / 0.5635 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.3254, allocations: 4 kB / 0.5635 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.3254, allocations: 0 / 0.5635 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.3255, allocations: 7.984 kB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3257, allocations: 31.97 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3257, allocations: 3.938 kB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.3257, allocations: 8 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3258, allocations: 7.984 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.3258, allocations: 4 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.3259, allocations: 15.78 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3259, allocations: 0 / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3259, allocations: 0 / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3259, allocations: 0 / 0.5635 GB, free: 2.402 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.0003168/0.3262, allocations: 238.5 kB / 0.5638 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3262, allocations: 8.031 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3264, allocations: 8.922 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.306e-05/0.3265, allocations: 102.5 kB / 0.5639 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3265, allocations: 384 / 0.5639 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3265, allocations: 4.375 kB / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3266, allocations: 59.91 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3266, allocations: 192 / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3266, allocations: 3.938 kB / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3266, allocations: 3.938 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.3267, allocations: 0 / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.327, allocations: 335.2 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3271, allocations: 165.1 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.3271, allocations: 88.08 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.3272, allocations: 79.22 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.3273, allocations: 113.8 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3273, allocations: 0 / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.503e-05/0.3273, allocations: 33.64 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.3274, allocations: 126.7 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.3275, allocations: 97.8 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3275, allocations: 25.7 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3276, allocations: 82.95 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.3276, allocations: 0 / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3276, allocations: 17.72 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3278, allocations: 310.8 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.3278, allocations: 4.125 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.3278, allocations: 3.938 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.3278, allocations: 12.89 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3278, allocations: 0 / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.256e-05/0.3279, allocations: 37.62 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3279, allocations: 8 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3279, allocations: 3.984 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3279, allocations: 0 / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-05/0.328, allocations: 0 / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.328, allocations: 96 / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.328, allocations: 8 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.328, allocations: 4 kB / 0.5654 GB, free: 280 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.0001114/0.3281, allocations: 185.1 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.3282, allocations: 108.9 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.3283, allocations: 111.8 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.157e-05/0.3283, allocations: 184.2 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.907e-05/0.3284, allocations: 176.3 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.751e-05/0.3285, allocations: 188.2 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3287, allocations: 349.9 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.3288, allocations: 105 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.3288, allocations: 108.9 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.96e-05/0.3289, allocations: 180.2 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/0.329, allocations: 196.2 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-05/0.3291, allocations: 176.3 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-05/0.3292, allocations: 176.3 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3293, allocations: 308 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3294, allocations: 120.8 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.3295, allocations: 180.3 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.3295, allocations: 105 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.3296, allocations: 180.2 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.3297, allocations: 108.9 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.3297, allocations: 79.28 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3297, allocations: 0 / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.3299, allocations: 4 kB / 0.5686 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.0001323/0.3301, allocations: 174.5 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.3301, allocations: 3.938 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3301, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3301, allocations: 0 / 0.5688 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.0003799/0.3305, allocations: 458.5 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.3308, allocations: 186.6 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.3308, allocations: 59.34 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.3309, allocations: 7.438 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3309, allocations: 0 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of Templates: time 0.00164/0.3325, allocations: 319.9 kB / 0.5698 GB, free: 11.57 MB / 414.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.470489198807627]