Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.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.001296/0.001296, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001313/0.001313, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.339/1.339, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2185/0.2185, allocations: 46.89 MB / 361.1 MB, free: 4.617 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.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-beta.om_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-beta.om_ModelicaTest.Blocks.UnitDeduction") [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.002362/0.002362, allocations: 83.86 kB / 0.4968 GB, free: 8.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2957, allocations: 65.98 MB / 0.5612 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.00401/0.2997, allocations: 4.083 MB / 0.5652 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3013, allocations: 1.283 MB / 0.5664 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.3016, allocations: 23.06 kB / 0.5665 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3018, allocations: 119.4 kB / 0.5666 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.3022, allocations: 172 kB / 0.5667 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.3029, allocations: 412.6 kB / 0.5671 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.3035, allocations: 0.8395 MB / 0.568 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.3038, allocations: 213.3 kB / 0.5682 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.3041, allocations: 336.4 kB / 0.5685 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.3043, allocations: 325 kB / 0.5688 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.3044, allocations: 65.97 kB / 0.5688 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.3045, allocations: 69.12 kB / 0.5689 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.3045, allocations: 158 kB / 0.5691 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3047, allocations: 361.9 kB / 0.5694 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.3053, allocations: 0.7971 MB / 0.5702 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3053, allocations: 0 / 0.5702 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3053, allocations: 2.594 kB / 0.5702 GB, free: 28.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3053, allocations: 0 / 0.5702 GB, free: 28.66 MB / 446.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.001409/0.3067, allocations: 1.085 MB / 0.5713 GB, free: 27.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3067, allocations: 8.875 kB / 0.5713 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.3069, allocations: 104.9 kB / 0.5714 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.3076, allocations: 0.5498 MB / 0.5719 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.3076, allocations: 40.31 kB / 0.5719 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.3077, allocations: 71 kB / 0.572 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.3087, allocations: 0.6149 MB / 0.5726 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3087, allocations: 2.109 kB / 0.5726 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3087, allocations: 22.09 kB / 0.5726 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.3087, allocations: 13.59 kB / 0.5726 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/0.3096, allocations: 395.9 kB / 0.573 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.3128, allocations: 2.98 MB / 0.5759 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.3137, allocations: 426.7 kB / 0.5763 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.3141, allocations: 170 kB / 0.5765 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.3141, allocations: 4.75 kB / 0.5765 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.3141, allocations: 45.69 kB / 0.5765 GB, free: 24.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.254e-06/0.3141, allocations: 0 / 0.5765 GB, free: 24.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.001189/0.3153, allocations: 0.5365 MB / 0.5771 GB, free: 24.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3154, allocations: 140.7 kB / 0.5772 GB, free: 23.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.3159, allocations: 0.5551 MB / 0.5777 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3159, allocations: 37.2 kB / 0.5778 GB, free: 23.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3161, allocations: 378.1 kB / 0.5781 GB, free: 23.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.3162, allocations: 163.8 kB / 0.5783 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3163, allocations: 116.2 kB / 0.5784 GB, free: 23.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.3164, allocations: 379.3 kB / 0.5788 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.3168, allocations: 185.9 kB / 0.5789 GB, free: 22.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.3173, allocations: 399.4 kB / 0.5793 GB, free: 22.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.318, allocations: 0.5732 MB / 0.5799 GB, free: 22.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3181, allocations: 2.875 kB / 0.5799 GB, free: 22.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001098/0.3192, allocations: 0.6493 MB / 0.5805 GB, free: 21.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3192, allocations: 9.25 kB / 0.5805 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3192, allocations: 6.75 kB / 0.5805 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.3192, allocations: 14.25 kB / 0.5806 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.3197, allocations: 142.9 kB / 0.5807 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.3198, allocations: 19.55 kB / 0.5807 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.3201, allocations: 76.06 kB / 0.5808 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3202, allocations: 30.19 kB / 0.5808 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000458/0.3206, allocations: 307.1 kB / 0.5811 GB, free: 21.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004363/0.3211, allocations: 389.7 kB / 0.5815 GB, free: 21.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007048/0.3218, allocations: 0.5502 MB / 0.582 GB, free: 20.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.3218, allocations: 3.125 kB / 0.582 GB, free: 20.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.0009907/0.3228, allocations: 0.6342 MB / 0.5826 GB, free: 20.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3228, allocations: 7.922 kB / 0.5826 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3228, allocations: 8 kB / 0.5826 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.3228, allocations: 9.656 kB / 0.5827 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.3233, allocations: 135.6 kB / 0.5828 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3233, allocations: 15.39 kB / 0.5828 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.3237, allocations: 71.78 kB / 0.5829 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.3237, allocations: 26.12 kB / 0.5829 GB, free: 20.37 MB / 446.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.0001191/0.3238, allocations: 224.4 kB / 0.5831 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3239, allocations: 67.39 kB / 0.5832 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.324, allocations: 75.64 kB / 0.5832 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.324, allocations: 7.703 kB / 0.5833 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.324, allocations: 0.7969 kB / 0.5833 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3242, allocations: 171.5 kB / 0.5834 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.3243, allocations: 10.97 kB / 0.5834 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.3246, allocations: 25.61 kB / 0.5835 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3247, allocations: 32.38 kB / 0.5835 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001706/0.3264, allocations: 0.6892 MB / 0.5842 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001276/0.3277, allocations: 0.8895 MB / 0.585 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003469/0.328, allocations: 163 kB / 0.5852 GB, free: 18.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003771/0.3284, allocations: 378.3 kB / 0.5855 GB, free: 18.81 MB / 446.1 MB Notification: Performance of Backend: time 6.61e-07/0.3284, allocations: 0 / 0.5855 GB, free: 18.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.3299, allocations: 0.637 MB / 0.5862 GB, free: 18.55 MB / 446.1 MB Notification: Performance of SimCode: time 0.002179/0.3321, allocations: 1.964 MB / 0.5881 GB, free: 17.22 MB / 446.1 MB Notification: Performance of Templates: time 0.01619/0.3482, allocations: 9.733 MB / 0.5976 GB, free: 14.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.UnitDeduction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/UnitDeduction/UnitDeduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.074430865235627]