Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001523/0.001523, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001695/0.001695, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2158/0.2158, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.91 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 66.03 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00429/0.3016, allocations: 2.89 MB / 0.5647 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.303, allocations: 0.8023 MB / 0.5655 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3032, allocations: 11.94 kB / 0.5655 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.3034, allocations: 67.31 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.3037, allocations: 122.9 kB / 0.5657 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.304, allocations: 119.8 kB / 0.5658 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.3045, allocations: 458.3 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.3048, allocations: 130.8 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.305, allocations: 187.3 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3053, allocations: 199.1 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.3054, allocations: 32 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.3055, allocations: 40 kB / 0.5668 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.3055, allocations: 83.62 kB / 0.5669 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3057, allocations: 210.9 kB / 0.5671 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.3062, allocations: 460.4 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3063, allocations: 0 / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3063, allocations: 4 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3063, allocations: 0 / 0.5675 GB, free: 14.62 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001011/0.3073, allocations: 0.6066 MB / 0.5681 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3073, allocations: 8.031 kB / 0.5681 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.3076, allocations: 80.61 kB / 0.5682 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.3081, allocations: 237.6 kB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.3081, allocations: 29.38 kB / 0.5684 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.3082, allocations: 44.36 kB / 0.5685 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.3088, allocations: 385.3 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3088, allocations: 7.953 kB / 0.5689 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3089, allocations: 12 kB / 0.5689 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3089, allocations: 15.98 kB / 0.5689 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.3094, allocations: 240.4 kB / 0.5691 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3113, allocations: 1.063 MB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.3118, allocations: 319.5 kB / 0.5705 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.3121, allocations: 170.4 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3122, allocations: 11.92 kB / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3122, allocations: 34.56 kB / 0.5707 GB, free: 11.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.3122, allocations: 0 / 0.5707 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.00377/0.316, allocations: 2.014 MB / 0.5726 GB, free: 9.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.3161, allocations: 110.8 kB / 0.5727 GB, free: 8.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3163, allocations: 245.9 kB / 0.573 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.3163, allocations: 37.7 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3165, allocations: 180.9 kB / 0.5732 GB, free: 8.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3167, allocations: 218.2 kB / 0.5734 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3168, allocations: 78.36 kB / 0.5735 GB, free: 8.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.317, allocations: 358.7 kB / 0.5738 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.3172, allocations: 125.2 kB / 0.5739 GB, free: 7.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.3176, allocations: 236.8 kB / 0.5741 GB, free: 7.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.3182, allocations: 405.9 kB / 0.5745 GB, free: 6.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3182, allocations: 0 / 0.5745 GB, free: 6.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.3193, allocations: 0.5501 MB / 0.5751 GB, free: 6.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3193, allocations: 4 kB / 0.5751 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3193, allocations: 4 kB / 0.5751 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.3197, allocations: 122.5 kB / 0.5752 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.32, allocations: 95.91 kB / 0.5753 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004581/0.3246, allocations: 4.903 MB / 0.5801 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.3248, allocations: 19.94 kB / 0.5801 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.3249, allocations: 20 kB / 0.5801 GB, free: 0.8867 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.3251, allocations: 178.2 kB / 0.5803 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.3252, allocations: 43.77 kB / 0.5803 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.191e-05/0.3253, allocations: 46.11 kB / 0.5804 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3253, allocations: 8 kB / 0.5804 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3253, allocations: 7.938 kB / 0.5804 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3253, allocations: 0 / 0.5804 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.3273, allocations: 1.287 MB / 0.5816 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/0.3273, allocations: 4 kB / 0.5816 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.3278, allocations: 95.97 kB / 0.5817 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.328, allocations: 90.7 kB / 0.5818 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.3281, allocations: 23.94 kB / 0.5818 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.3315, allocations: 4.121 MB / 0.5859 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3315, allocations: 4.031 kB / 0.5859 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3328, allocations: 0.9206 MB / 0.5868 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.3329, allocations: 35.83 kB / 0.5868 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.333, allocations: 15.98 kB / 0.5868 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3332, allocations: 12 kB / 0.5868 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3333, allocations: 55.78 kB / 0.5869 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.3333, allocations: 16 kB / 0.5869 GB, free: 9.465 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3335, allocations: 173.2 kB / 0.5871 GB, free: 9.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3335, allocations: 0 / 0.5871 GB, free: 9.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.3342, allocations: 124 kB / 0.5872 GB, free: 9.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.3343, allocations: 112.9 kB / 0.5873 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3356, allocations: 0.7618 MB / 0.588 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3356, allocations: 0 / 0.588 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.3364, allocations: 0.5608 MB / 0.5886 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.337, allocations: 57.83 kB / 0.5886 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.3389, allocations: 1.145 MB / 0.5898 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.3394, allocations: 0.8202 MB / 0.5906 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.3395, allocations: 35.44 kB / 0.5906 GB, free: 5.527 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3395, allocations: 0 / 0.5906 GB, free: 5.527 MB / 430.1 MB Notification: Performance of Templates: time 0.01349/0.3529, allocations: 9.496 MB / 0.5999 GB, free: 12.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 8.285540702054277]