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.002156/0.002156, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002385/0.002385, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.445/1.445, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2063/0.2063, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.234e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004486/0.004518, allocations: 2.653 MB / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.006179, allocations: 0.7438 MB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.006488, allocations: 15.88 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.006738, allocations: 55.44 kB / 443.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.007175, allocations: 130.8 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.007603, allocations: 111.8 kB / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008341/0.008437, allocations: 453.6 kB / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.008824, allocations: 94.19 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.009712, allocations: 263.4 kB / 444.6 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.0102, allocations: 131.6 kB / 444.7 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.0103, allocations: 36 kB / 444.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.01053, allocations: 43.94 kB / 444.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.01064, allocations: 75.73 kB / 444.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.01089, allocations: 135.7 kB / 445 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.01158, allocations: 438.6 kB / 445.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.01159, allocations: 4 kB / 445.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.01159, allocations: 0 / 445.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.01161, allocations: 0 / 445.4 MB, free: 2.797 MB / 366.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.001377/0.01299, allocations: 0.5833 MB / 446 MB, free: 2.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.01304, allocations: 12.03 kB / 446 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.01343, allocations: 60.64 kB / 446.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.0139, allocations: 225.6 kB / 446.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.01393, allocations: 25.38 kB / 446.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.01403, allocations: 48.33 kB / 446.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.01481, allocations: 398.6 kB / 446.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.01485, allocations: 12.12 kB / 446.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.0149, allocations: 16.38 kB / 446.8 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.01492, allocations: 15.94 kB / 446.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.01545, allocations: 215.7 kB / 447 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.203/0.2185, allocations: 1.539 MB / 448.6 MB, free: 20.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.2189, allocations: 265.3 kB / 448.8 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.219, allocations: 88.38 kB / 448.9 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.219, allocations: 7.672 kB / 448.9 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.219, allocations: 44.77 kB / 448.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.219, allocations: 1.062 kB / 449 MB, free: 20.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006693/0.2197, allocations: 258.8 kB / 449.2 MB, free: 20.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2198, allocations: 214.3 kB / 449.4 MB, free: 20.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.22, allocations: 278.4 kB / 449.7 MB, free: 20.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.22, allocations: 27.8 kB / 449.7 MB, free: 20.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2201, allocations: 248.7 kB / 450 MB, free: 19.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.2202, allocations: 125.2 kB / 450.1 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2203, allocations: 103.3 kB / 450.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.2204, allocations: 344.4 kB / 450.5 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2206, allocations: 97.75 kB / 450.6 MB, free: 19.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.2209, allocations: 424.4 kB / 451 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.2215, allocations: 0.5785 MB / 451.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.2215, allocations: 3.531 kB / 451.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007809/0.2223, allocations: 0.52 MB / 452.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2223, allocations: 10.97 kB / 452.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.2223, allocations: 11.19 kB / 452.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.2224, allocations: 17.97 kB / 452.2 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.2228, allocations: 148.5 kB / 452.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.2228, allocations: 26.38 kB / 452.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.2231, allocations: 62.78 kB / 452.4 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2231, allocations: 37.72 kB / 452.4 MB, free: 18.12 MB / 366.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.0001283/0.2233, allocations: 177 kB / 452.6 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.2234, allocations: 29.16 kB / 452.6 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.2235, allocations: 33.67 kB / 452.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2235, allocations: 8.531 kB / 452.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2235, allocations: 1.375 kB / 452.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2235, allocations: 7.719 kB / 452.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2246, allocations: 0.5609 MB / 453.2 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2246, allocations: 6.844 kB / 453.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.225, allocations: 89.73 kB / 453.3 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.225, allocations: 3.312 kB / 453.3 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.2251, allocations: 15.17 kB / 453.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2251, allocations: 4.578 kB / 453.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.2251, allocations: 11.16 kB / 453.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.2257, allocations: 0.8194 MB / 454.2 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2257, allocations: 35.69 kB / 454.2 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.2258, allocations: 17.44 kB / 454.2 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2261, allocations: 11.12 kB / 454.3 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.2262, allocations: 26.77 kB / 454.3 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2262, allocations: 12.69 kB / 454.3 MB, free: 16.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2263, allocations: 174.2 kB / 454.5 MB, free: 16.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2263, allocations: 0 / 454.5 MB, free: 16.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007402/0.2271, allocations: 102.7 kB / 454.6 MB, free: 16.64 MB / 366.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.0001178/0.2272, allocations: 112.1 kB / 454.7 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.2277, allocations: 284.9 kB / 455 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2277, allocations: 1.375 kB / 455 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.2279, allocations: 85.8 kB / 455 MB, free: 16.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2289, allocations: 69.86 kB / 455.1 MB, free: 16.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2304, allocations: 1.18 MB / 456.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2306, allocations: 197.5 kB / 456.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.2308, allocations: 44.33 kB / 456.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.2308, allocations: 29.2 kB / 456.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2308, allocations: 0 / 456.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.008576/0.2394, allocations: 2.875 MB / 459.4 MB, free: 15.05 MB / 366.1 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: 4.774007711559534]