Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.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.001542/0.001542, allocations: 110.8 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.002479/0.002479, allocations: 211.6 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2202/0.2202, allocations: 46.97 MB / 361.6 MB, free: 4.062 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.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.005654/0.287, allocations: 3.697 MB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.2894, allocations: 1.239 MB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.2897, allocations: 31.75 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.29, allocations: 122.6 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.2906, allocations: 170.5 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.2913, allocations: 414.9 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.2922, allocations: 0.8347 MB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.2926, allocations: 217.6 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.2931, allocations: 338.6 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.2935, allocations: 330.2 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.2936, allocations: 68 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2937, allocations: 72 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2938, allocations: 159.3 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.2941, allocations: 282.3 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009199/0.295, allocations: 0.8192 MB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.295, allocations: 0 / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.295, allocations: 0 / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.295, allocations: 4 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001875/0.2969, allocations: 1.007 MB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.297, allocations: 8.031 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.2972, allocations: 100.4 kB / 0.5715 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.2981, allocations: 480.6 kB / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.2982, allocations: 45.69 kB / 0.572 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2983, allocations: 71.89 kB / 0.572 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.2994, allocations: 0.6913 MB / 0.5727 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.2994, allocations: 3.938 kB / 0.5727 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.2995, allocations: 28 kB / 0.5727 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.2995, allocations: 12 kB / 0.5727 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.3003, allocations: 382.9 kB / 0.5731 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003951/0.3043, allocations: 2.699 MB / 0.5757 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3053, allocations: 433.7 kB / 0.5762 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.3057, allocations: 165.6 kB / 0.5763 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.3057, allocations: 8 kB / 0.5763 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3057, allocations: 38.59 kB / 0.5764 GB, free: 4.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/0.3057, allocations: 3.938 kB / 0.5764 GB, free: 4.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.001299/0.307, allocations: 0.5489 MB / 0.5769 GB, free: 4.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.3071, allocations: 140.5 kB / 0.577 GB, free: 4.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.3078, allocations: 0.5586 MB / 0.5776 GB, free: 3.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.3078, allocations: 37.7 kB / 0.5776 GB, free: 3.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.3081, allocations: 376.7 kB / 0.578 GB, free: 3.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3083, allocations: 166.6 kB / 0.5781 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.3085, allocations: 114.3 kB / 0.5782 GB, free: 2.984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3087, allocations: 374.8 kB / 0.5786 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.3091, allocations: 187.4 kB / 0.5788 GB, free: 2.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.3097, allocations: 457.3 kB / 0.5792 GB, free: 1.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009846/0.3107, allocations: 0.5675 MB / 0.5798 GB, free: 1.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.3107, allocations: 8 kB / 0.5798 GB, free: 1.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001246/0.312, allocations: 0.6525 MB / 0.5804 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.312, allocations: 12.67 kB / 0.5804 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.312, allocations: 8 kB / 0.5804 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.312, allocations: 12 kB / 0.5804 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.3126, allocations: 139.8 kB / 0.5806 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.3126, allocations: 19.88 kB / 0.5806 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.313, allocations: 75.59 kB / 0.5807 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.3131, allocations: 24 kB / 0.5807 GB, free: 256 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005502/0.3136, allocations: 309.4 kB / 0.581 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006068/0.3142, allocations: 445.3 kB / 0.5814 GB, free: 15.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009118/0.3152, allocations: 0.5442 MB / 0.5819 GB, free: 14.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.3152, allocations: 4.391 kB / 0.5819 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.001158/0.3163, allocations: 0.6297 MB / 0.5826 GB, free: 14.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3163, allocations: 10.34 kB / 0.5826 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3163, allocations: 16.08 kB / 0.5826 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.3164, allocations: 8 kB / 0.5826 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.3169, allocations: 135.8 kB / 0.5827 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3169, allocations: 15.94 kB / 0.5827 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.3173, allocations: 63.59 kB / 0.5828 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.3174, allocations: 28 kB / 0.5828 GB, free: 13.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0001925/0.3176, allocations: 216.1 kB / 0.583 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3177, allocations: 75.56 kB / 0.5831 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.3178, allocations: 70.17 kB / 0.5832 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3178, allocations: 11.88 kB / 0.5832 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3178, allocations: 3.938 kB / 0.5832 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.3181, allocations: 103.3 kB / 0.5833 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.3181, allocations: 8 kB / 0.5833 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3185, allocations: 27.97 kB / 0.5833 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.3186, allocations: 35.89 kB / 0.5833 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001826/0.3205, allocations: 0.6756 MB / 0.584 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001457/0.3219, allocations: 0.8868 MB / 0.5849 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003904/0.3223, allocations: 171.9 kB / 0.585 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004436/0.3227, allocations: 375.1 kB / 0.5854 GB, free: 11.18 MB / 430.1 MB Notification: Performance of Backend: time 3e-07/0.3227, allocations: 0 / 0.5854 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3243, allocations: 0.6403 MB / 0.586 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 0.002676/0.327, allocations: 1.956 MB / 0.5879 GB, free: 8.543 MB / 430.1 MB Notification: Performance of Templates: time 0.0196/0.3466, allocations: 11.24 MB / 0.5989 GB, free: 13.44 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/UnitDeduction/UnitDeduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.UnitDeduction.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: 5.113737941996078]