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.001421/0.001421, allocations: 109.1 kB / 21.18 MB, free: 0.7617 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.001597/0.001597, allocations: 209.7 kB / 24.49 MB, free: 4.148 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.35/1.35, allocations: 230.5 MB / 258.1 MB, free: 8.047 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.2149/0.2149, allocations: 46.92 MB / 361.5 MB, free: 4.199 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.00319/0.00319, allocations: 79.88 kB / 0.4974 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2894, allocations: 66.09 MB / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002275/0.2917, allocations: 1.226 MB / 0.5632 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.2925, allocations: 427.9 kB / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.2925, allocations: 0 / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.2925, allocations: 0 / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.2925, allocations: 0 / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.2929, allocations: 71.73 kB / 0.5636 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.293, allocations: 4 kB / 0.5636 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.293, allocations: 0 / 0.5636 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.293, allocations: 4 kB / 0.5636 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2932, allocations: 43.89 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.2932, allocations: 0 / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.2933, allocations: 4 kB / 0.5637 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.2933, allocations: 0 / 0.5637 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.2933, allocations: 4 kB / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.005e-05/0.2934, allocations: 19.77 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2934, allocations: 0 / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2934, allocations: 0 / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2934, allocations: 0 / 0.5637 GB, free: 2.434 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.0002621/0.2937, allocations: 238.5 kB / 0.5639 GB, free: 2.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2937, allocations: 12.03 kB / 0.5639 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2938, allocations: 4.922 kB / 0.5639 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.2939, allocations: 114.5 kB / 0.5641 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2939, allocations: 384 / 0.5641 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2939, allocations: 4.359 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.294, allocations: 26.27 kB / 0.5641 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.294, allocations: 4.188 kB / 0.5641 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.294, allocations: 7.938 kB / 0.5641 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.294, allocations: 0 / 0.5641 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.326e-05/0.294, allocations: 0 / 0.5641 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.2944, allocations: 350.6 kB / 0.5644 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2945, allocations: 177 kB / 0.5646 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.2945, allocations: 84.14 kB / 0.5647 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.2945, allocations: 75.28 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.2946, allocations: 113.9 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2946, allocations: 3.938 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.448e-05/0.2947, allocations: 33.59 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.2947, allocations: 130.7 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.2948, allocations: 97.86 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.2948, allocations: 25.7 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.2949, allocations: 82.95 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2949, allocations: 0 / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.2949, allocations: 9.719 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.295, allocations: 318.8 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.295, allocations: 0 / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-06/0.295, allocations: 0 / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.2951, allocations: 13.08 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2951, allocations: 4 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.322e-05/0.2951, allocations: 41.56 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2952, allocations: 4 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2952, allocations: 0 / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2952, allocations: 0 / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.2952, allocations: 8 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2952, allocations: 0 / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.016e-05/0.2952, allocations: 0 / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.2952, allocations: 0 / 0.5656 GB, free: 308 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.0001108/0.2953, allocations: 194.4 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.2954, allocations: 109 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.2955, allocations: 111.7 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.958e-05/0.2956, allocations: 176.3 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.132e-05/0.2956, allocations: 176.3 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-05/0.2957, allocations: 188.2 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.296, allocations: 377.3 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/0.296, allocations: 104.9 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.2961, allocations: 105 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/0.2962, allocations: 180.2 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.2962, allocations: 184.2 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/0.2963, allocations: 180.3 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.911e-05/0.2964, allocations: 184.2 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2965, allocations: 303.9 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.2966, allocations: 113 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.2967, allocations: 188.2 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.2968, allocations: 104.9 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.2968, allocations: 184.2 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.2969, allocations: 104.9 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.443e-05/0.2969, allocations: 79.27 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2969, allocations: 0 / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.2972, allocations: 8.094 kB / 0.5688 GB, free: 12.82 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.0001125/0.2973, allocations: 166.5 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.2973, allocations: 4 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2973, allocations: 4 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.2973, allocations: 0 / 0.569 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.0003951/0.2977, allocations: 461.9 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.298, allocations: 182.6 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2983, allocations: 0.6729 MB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.2983, allocations: 7.438 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2983, allocations: 0 / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Templates: time 0.001574/0.2998, allocations: 323.9 kB / 0.5706 GB, free: 10.95 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/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_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: 6.593245175899938]