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.001377/0.001377, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.0017/0.0017, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2249/0.2249, allocations: 46.96 MB / 361.6 MB, free: 4.16 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.00205/0.00205, allocations: 67.91 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3046, allocations: 66.03 MB / 0.5618 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002297/0.3069, allocations: 1.209 MB / 0.563 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.3078, allocations: 412 kB / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.3078, allocations: 0 / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.3078, allocations: 0 / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.967e-05/0.3078, allocations: 3.938 kB / 0.5634 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.3084, allocations: 67.8 kB / 0.5635 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.28e-05/0.3084, allocations: 4 kB / 0.5635 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3084, allocations: 0 / 0.5635 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.3085, allocations: 8 kB / 0.5635 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3087, allocations: 35.95 kB / 0.5635 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.3087, allocations: 0 / 0.5635 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.3088, allocations: 11.94 kB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.3088, allocations: 7.938 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.3088, allocations: 0 / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.3089, allocations: 15.78 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3089, allocations: 0 / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3089, allocations: 0 / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3089, allocations: 0 / 0.5635 GB, free: 2.449 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.0003327/0.3092, allocations: 238.5 kB / 0.5638 GB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3093, allocations: 12.03 kB / 0.5638 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3094, allocations: 12.86 kB / 0.5638 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.3095, allocations: 106.5 kB / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3095, allocations: 384 / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.3095, allocations: 384 / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3097, allocations: 55.97 kB / 0.564 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3097, allocations: 4.172 kB / 0.564 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3097, allocations: 3.938 kB / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3097, allocations: 0 / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.3097, allocations: 7.938 kB / 0.564 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.31, allocations: 331.2 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3102, allocations: 169.2 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.3102, allocations: 84.14 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.3103, allocations: 79.22 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.3103, allocations: 109.8 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3103, allocations: 0 / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.98e-05/0.3104, allocations: 33.59 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3104, allocations: 51.41 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.3105, allocations: 100.8 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.3106, allocations: 29.83 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.3106, allocations: 88.06 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.3106, allocations: 0 / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.3106, allocations: 13.72 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3108, allocations: 314.8 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.3108, allocations: 0 / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-06/0.3108, allocations: 0 / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.3108, allocations: 12.89 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3108, allocations: 0 / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.27e-05/0.3109, allocations: 45.62 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3109, allocations: 4 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3109, allocations: 0 / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.311, allocations: 4 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.311, allocations: 0 / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.311, allocations: 0 / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.311, allocations: 0 / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.311, allocations: 0 / 0.5654 GB, free: 404 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.000112/0.3111, allocations: 189.1 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.3112, allocations: 108.9 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/0.3113, allocations: 111.8 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/0.3114, allocations: 184.3 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/0.3114, allocations: 104.9 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.3115, allocations: 105 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.227e-05/0.3116, allocations: 185.2 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.3117, allocations: 108.9 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.3117, allocations: 180.3 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001159/0.3119, allocations: 259.4 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000187/0.312, allocations: 379 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.83e-05/0.3121, allocations: 109 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.3121, allocations: 75.28 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Backend: time 3.41e-07/0.3121, allocations: 4.094 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.3125, allocations: 74.64 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005435/0.313, allocations: 0.8356 MB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.002512/0.3155, allocations: 240.7 kB / 0.5685 GB, free: 13.03 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: 4.805038589052856]