Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001274/0.001274, allocations: 112.2 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.001481/0.001481, 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.2216/0.2216, allocations: 46.94 MB / 361.6 MB, free: 4.219 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.91 kB / 0.4974 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 66.04 MB / 0.5619 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004721/0.3173, allocations: 2.873 MB / 0.5647 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.319, allocations: 0.7868 MB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.3194, allocations: 11.94 kB / 0.5655 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.3197, allocations: 55.39 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.3201, allocations: 130.8 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.3206, allocations: 111.8 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006981/0.3213, allocations: 438 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.3216, allocations: 106.1 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003928/0.3219, allocations: 179.4 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.3223, allocations: 179.2 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.3223, allocations: 32 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3225, allocations: 40 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.3225, allocations: 79.69 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.3228, allocations: 195.1 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.3234, allocations: 448.5 kB / 0.5674 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3234, allocations: 7.938 kB / 0.5674 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3234, allocations: 0 / 0.5674 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.3234, allocations: 0 / 0.5674 GB, free: 14.72 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001066/0.3245, allocations: 0.5795 MB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3245, allocations: 8.031 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.3248, allocations: 68.56 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.3252, allocations: 221.9 kB / 0.5682 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3252, allocations: 29.38 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.3253, allocations: 40.33 kB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.3259, allocations: 398.5 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.3259, allocations: 7.953 kB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.326, allocations: 19.98 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.326, allocations: 8 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.3264, allocations: 215.7 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.3288, allocations: 1.675 MB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.3292, allocations: 250.4 kB / 0.5708 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.3294, allocations: 98.06 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3294, allocations: 7.938 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3295, allocations: 34.56 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.3295, allocations: 4 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.000694/0.3302, allocations: 265.2 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.3303, allocations: 217.5 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3306, allocations: 280.8 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3306, allocations: 33.7 kB / 0.5717 GB, free: 9.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3308, allocations: 240 kB / 0.5719 GB, free: 9.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.3309, allocations: 123.1 kB / 0.572 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.331, allocations: 98.3 kB / 0.5721 GB, free: 9.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3312, allocations: 350.7 kB / 0.5725 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3314, allocations: 101.2 kB / 0.5726 GB, free: 9.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.3319, allocations: 428.8 kB / 0.573 GB, free: 8.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/0.3326, allocations: 0.5711 MB / 0.5735 GB, free: 7.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3326, allocations: 0 / 0.5735 GB, free: 7.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000877/0.3335, allocations: 0.5326 MB / 0.574 GB, free: 7.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3335, allocations: 16.22 kB / 0.5741 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3335, allocations: 12 kB / 0.5741 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.3335, allocations: 16 kB / 0.5741 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.334, allocations: 151.7 kB / 0.5742 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.334, allocations: 19.94 kB / 0.5742 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.3343, allocations: 67.55 kB / 0.5743 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.3343, allocations: 28 kB / 0.5743 GB, free: 6.891 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001992/0.3345, allocations: 185.4 kB / 0.5745 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.3347, allocations: 35.81 kB / 0.5745 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.3348, allocations: 37.83 kB / 0.5746 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3348, allocations: 8 kB / 0.5746 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3348, allocations: 3.938 kB / 0.5746 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3348, allocations: 7.984 kB / 0.5746 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3361, allocations: 0.6231 MB / 0.5752 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3361, allocations: 4.062 kB / 0.5752 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.3365, allocations: 87.89 kB / 0.5753 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3365, allocations: 0 / 0.5753 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.3366, allocations: 15.98 kB / 0.5753 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.303e-05/0.3366, allocations: 11.88 kB / 0.5753 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3366, allocations: 0 / 0.5753 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.3374, allocations: 0.8299 MB / 0.5761 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.3375, allocations: 35.75 kB / 0.5762 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3375, allocations: 8 kB / 0.5762 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.3379, allocations: 19.92 kB / 0.5762 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.3379, allocations: 19.97 kB / 0.5762 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3379, allocations: 8 kB / 0.5762 GB, free: 4.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3381, allocations: 187.1 kB / 0.5764 GB, free: 4.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3381, allocations: 0 / 0.5764 GB, free: 4.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007399/0.3389, allocations: 99.89 kB / 0.5765 GB, free: 4.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001405/0.339, allocations: 111.2 kB / 0.5766 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.3396, allocations: 277.1 kB / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3396, allocations: 0 / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.3398, allocations: 90.05 kB / 0.577 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.3407, allocations: 76.72 kB / 0.577 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.3431, allocations: 1.591 MB / 0.5786 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.3436, allocations: 0.8026 MB / 0.5794 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.3437, allocations: 35.44 kB / 0.5794 GB, free: 1.512 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3437, allocations: 0 / 0.5794 GB, free: 1.512 MB / 414.1 MB Notification: Performance of Templates: time 0.00712/0.3508, allocations: 4.237 MB / 0.5835 GB, free: 13.28 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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: 7.575593966990709]