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.0009358/0.0009358, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002407, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001211/0.001211, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002733, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.062/1.062, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.177, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.3143/0.3143, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03807/0.3524, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 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 1.924e-06/1.924e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.495e-05, allocations: 3.516 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003756/0.003781, allocations: 2.889 MB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000914/0.004695, allocations: 0.7872 MB / 296.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.00481, allocations: 11.88 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.004925, allocations: 63.38 kB / 296.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.005086, allocations: 138.8 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.00525, allocations: 103.7 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.005553, allocations: 465.7 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.005711, allocations: 102.8 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.005964, allocations: 282.6 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.006108, allocations: 131.6 kB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.006141, allocations: 32 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.006223, allocations: 36 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.006262, allocations: 59.81 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.033e-05/0.006342, allocations: 123.8 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.006596, allocations: 266.9 kB / 298.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.006605, allocations: 0 / 298.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006606, allocations: 4 kB / 298.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.006617, allocations: 0 / 298.3 MB, free: 0.7266 MB / 282.7 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.000556/0.007173, allocations: 0.6413 MB / 298.9 MB, free: 60 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.611e-05/0.007199, allocations: 12.03 kB / 298.9 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.007383, allocations: 154 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.007568, allocations: 194.7 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.007587, allocations: 29.38 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.007628, allocations: 40.33 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.00788, allocations: 323.3 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.007898, allocations: 16.06 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.007916, allocations: 16.38 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.007926, allocations: 11.94 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.008036, allocations: 112.7 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.009137, allocations: 1.446 MB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.009385, allocations: 214.4 kB / 301.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.009439, allocations: 62.09 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.009463, allocations: 15.88 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.009494, allocations: 42.55 kB / 301.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.009495, allocations: 0 / 301.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002684/0.009763, allocations: 165.3 kB / 301.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.009849, allocations: 213.6 kB / 302 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01, allocations: 266.7 kB / 302.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.01001, allocations: 30.08 kB / 302.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.01011, allocations: 235.9 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.01017, allocations: 119 kB / 302.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.01025, allocations: 106.2 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01036, allocations: 342.7 kB / 303 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.01042, allocations: 41.3 kB / 303.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.01062, allocations: 377 kB / 303.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.01094, allocations: 0.5037 MB / 303.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.01094, allocations: 4 kB / 303.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003325/0.01128, allocations: 381.8 kB / 304.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.01129, allocations: 8.625 kB / 304.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.0113, allocations: 12 kB / 304.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.01133, allocations: 16.5 kB / 304.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.01167, allocations: 183.1 kB / 304.5 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.01168, allocations: 27.86 kB / 304.6 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.01182, allocations: 71.58 kB / 304.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.01184, allocations: 31.94 kB / 304.7 MB, free: 9.656 MB / 298.7 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 9.179e-05/0.01193, allocations: 161.5 kB / 304.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.01201, allocations: 23.98 kB / 304.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.01205, allocations: 33.8 kB / 304.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01205, allocations: 8 kB / 304.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01206, allocations: 3.984 kB / 304.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.01206, allocations: 4 kB / 304.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.01265, allocations: 463.3 kB / 305.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01265, allocations: 0 / 305.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.01291, allocations: 107.9 kB / 305.4 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.01293, allocations: 27.75 kB / 305.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01294, allocations: 4 kB / 305.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.01295, allocations: 8 kB / 305.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.01296, allocations: 11.92 kB / 305.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.01296, allocations: 7.984 kB / 305.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.0133, allocations: 0.7393 MB / 306.2 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01332, allocations: 8 kB / 306.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.0135, allocations: 8 kB / 306.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.01355, allocations: 31.84 kB / 306.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.01355, allocations: 7.984 kB / 306.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.767e-05/0.01361, allocations: 88.62 kB / 306.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01361, allocations: 0 / 306.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.01401, allocations: 95.89 kB / 306.5 MB, free: 7.762 MB / 298.7 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 9.695e-05/0.0141, allocations: 92.3 kB / 306.6 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01432, allocations: 234.2 kB / 306.8 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/0.01434, allocations: 8 kB / 306.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.01441, allocations: 85.59 kB / 306.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.01516, allocations: 0.7465 MB / 307.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.01977, allocations: 0.7798 MB / 308.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.01986, allocations: 112.6 kB / 308.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.398e-05/0.01995, allocations: 43.25 kB / 308.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.02008, allocations: 123.3 kB / 308.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02008, allocations: 0 / 308.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of Templates: time 0.005076/0.02516, allocations: 3.068 MB / 311.8 MB, free: 2.34 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1887873727828264]