Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000809/0.000809, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003785/0.003785, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 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 0.868/0.868, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.174e-05, allocations: 12.27 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004004/0.004035, allocations: 2.658 MB / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.005627, allocations: 0.7477 MB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.005953, allocations: 7.938 kB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.006175, allocations: 55.39 kB / 444.3 MB, free: 268 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.006483, allocations: 138.8 kB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.006961, allocations: 103.8 kB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2052/0.2122, allocations: 449.6 kB / 445 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.2124, allocations: 104.9 kB / 445.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.2128, allocations: 269.3 kB / 445.3 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2129, allocations: 126.2 kB / 445.5 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.213, allocations: 35.72 kB / 445.5 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.2131, allocations: 33.28 kB / 445.5 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.2131, allocations: 81.77 kB / 445.6 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.2132, allocations: 138 kB / 445.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.2135, allocations: 432.5 kB / 446.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2135, allocations: 0.5938 kB / 446.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2136, allocations: 4.781 kB / 446.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2136, allocations: 0 / 446.2 MB, free: 43.71 MB / 410.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.0006238/0.2142, allocations: 0.5815 MB / 446.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2142, allocations: 9.188 kB / 446.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.2144, allocations: 64.67 kB / 446.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.2147, allocations: 223.2 kB / 447 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2147, allocations: 29.06 kB / 447.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.2148, allocations: 41.48 kB / 447.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.2151, allocations: 398.1 kB / 447.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2151, allocations: 7.047 kB / 447.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2152, allocations: 14.34 kB / 447.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2152, allocations: 18.75 kB / 447.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.2154, allocations: 220.9 kB / 447.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.2166, allocations: 1.547 MB / 449.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.2168, allocations: 256.6 kB / 449.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.2169, allocations: 92.81 kB / 449.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2169, allocations: 6.719 kB / 449.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2169, allocations: 43.78 kB / 449.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 2.806e-06/0.2169, allocations: 0 / 449.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004153/0.2173, allocations: 266.7 kB / 450 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2174, allocations: 219 kB / 450.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2175, allocations: 263.7 kB / 450.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.2175, allocations: 29.7 kB / 450.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.2176, allocations: 253.6 kB / 450.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.2176, allocations: 125.6 kB / 450.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.2177, allocations: 101.5 kB / 450.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.2177, allocations: 338.7 kB / 451.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2178, allocations: 102.6 kB / 451.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.218, allocations: 427.4 kB / 451.8 MB, free: 39.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.2184, allocations: 0.5713 MB / 452.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2184, allocations: 5.781 kB / 452.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004317/0.2188, allocations: 0.5194 MB / 452.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2188, allocations: 11.56 kB / 452.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2188, allocations: 15.56 kB / 452.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2188, allocations: 14.66 kB / 452.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.2191, allocations: 150.4 kB / 453.1 MB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2191, allocations: 21.66 kB / 453.1 MB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2192, allocations: 65.77 kB / 453.1 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.2192, allocations: 36.62 kB / 453.2 MB, free: 39.17 MB / 410.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.165e-05/0.2193, allocations: 176.9 kB / 453.4 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.2194, allocations: 38.16 kB / 453.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.2194, allocations: 39.78 kB / 453.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2194, allocations: 6.047 kB / 453.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2194, allocations: 2.938 kB / 453.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2194, allocations: 8.453 kB / 453.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.2201, allocations: 0.5599 MB / 454 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2201, allocations: 0 / 454 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.2203, allocations: 86.12 kB / 454.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2203, allocations: 3.219 kB / 454.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.2203, allocations: 10.41 kB / 454.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2203, allocations: 10.47 kB / 454.1 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2203, allocations: 3.25 kB / 454.1 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.2207, allocations: 0.8327 MB / 455 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.2208, allocations: 28.97 kB / 455 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.2208, allocations: 13.33 kB / 455 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.221, allocations: 7.156 kB / 455 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.221, allocations: 27.34 kB / 455 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.221, allocations: 15.72 kB / 455 MB, free: 37.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.169e-05/0.2211, allocations: 170.3 kB / 455.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2211, allocations: 0 / 455.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004717/0.2216, allocations: 102.8 kB / 455.3 MB, free: 37.69 MB / 410.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 0.0001054/0.2217, allocations: 117.3 kB / 455.4 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.222, allocations: 281.4 kB / 455.7 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.222, allocations: 0 / 455.7 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.2221, allocations: 82.12 kB / 455.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006602/0.2228, allocations: 75.03 kB / 455.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2238, allocations: 1.216 MB / 457.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2239, allocations: 197.6 kB / 457.3 MB, free: 36.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.224, allocations: 33.73 kB / 457.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.224, allocations: 3.938 kB / 457.3 MB, free: 36.45 MB / 410.7 MB Notification: Performance of Templates: time 0.003881/0.2278, allocations: 4.381 MB / 461.7 MB, free: 35.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.257968848571181]