Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001818, allocations: 92.27 kB / 20.96 MB, free: 3.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00257/0.00257, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3651/0.3651, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.325e-05, allocations: 7.234 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004474/0.004507, allocations: 2.66 MB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.00604, allocations: 0.7478 MB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.006196, allocations: 11.94 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.006416, allocations: 55.38 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.006683, allocations: 138.7 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.007043, allocations: 103.8 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.007612, allocations: 461.6 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.007842, allocations: 98.12 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.008275, allocations: 263.4 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.00854, allocations: 123.7 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.008598, allocations: 32 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.923e-05/0.008697, allocations: 40 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.008782, allocations: 83.66 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.008954, allocations: 135.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.009524, allocations: 442.5 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.009528, allocations: 0 / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009529, allocations: 0 / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.009536, allocations: 0 / 382.6 MB, free: 13.52 MB / 362.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.001177/0.01071, allocations: 0.5872 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01075, allocations: 8.031 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.01109, allocations: 92.64 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.01152, allocations: 218.5 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.01156, allocations: 29.38 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.01165, allocations: 52.25 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.01238, allocations: 394.7 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.01241, allocations: 4.141 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.01245, allocations: 20.38 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.01247, allocations: 15.94 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.01295, allocations: 219.7 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.01541, allocations: 1.556 MB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.01593, allocations: 262.4 kB / 386 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.01612, allocations: 94.02 kB / 386.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.01616, allocations: 11.98 kB / 386.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.01621, allocations: 58.39 kB / 386.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.01621, allocations: 0 / 386.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007496/0.01696, allocations: 265.5 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.01712, allocations: 213.6 kB / 386.6 MB, free: 9.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.01742, allocations: 276 kB / 386.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.01745, allocations: 33.7 kB / 386.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.01765, allocations: 239.9 kB / 387.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.01777, allocations: 123 kB / 387.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.01791, allocations: 102.2 kB / 387.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003194/0.01823, allocations: 342.8 kB / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.01845, allocations: 97.36 kB / 387.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.01898, allocations: 429.1 kB / 388.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.0198, allocations: 0.5702 MB / 388.8 MB, free: 6.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.01981, allocations: 4 kB / 388.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009768/0.02079, allocations: 0.5564 MB / 389.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.02081, allocations: 8 kB / 389.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.02094, allocations: 15.98 kB / 389.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.02097, allocations: 16 kB / 389.4 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.02144, allocations: 147.8 kB / 389.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/0.02147, allocations: 23.92 kB / 389.6 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.02177, allocations: 68.02 kB / 389.6 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.02182, allocations: 32 kB / 389.6 MB, free: 5.742 MB / 362.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 0.0002071/0.02202, allocations: 181.5 kB / 389.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.02219, allocations: 43.73 kB / 389.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/0.02227, allocations: 33.8 kB / 389.9 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.02228, allocations: 4 kB / 389.9 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.02228, allocations: 4 kB / 389.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.02229, allocations: 0 / 389.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.02355, allocations: 0.5619 MB / 390.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02356, allocations: 4.062 kB / 390.5 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.02404, allocations: 91.94 kB / 390.6 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.02404, allocations: 0 / 390.6 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.02408, allocations: 16 kB / 390.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.02409, allocations: 11.92 kB / 390.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.02409, allocations: 0 / 390.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.02502, allocations: 0.8261 MB / 391.4 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.02507, allocations: 39.67 kB / 391.5 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.02512, allocations: 12 kB / 391.5 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.02548, allocations: 12 kB / 391.5 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.02556, allocations: 27.89 kB / 391.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.02558, allocations: 8 kB / 391.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.02576, allocations: 179.1 kB / 391.7 MB, free: 3.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02576, allocations: 0 / 391.7 MB, free: 3.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007568/0.02652, allocations: 103.8 kB / 391.8 MB, free: 3.512 MB / 362.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.0001514/0.02667, allocations: 115 kB / 391.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.02726, allocations: 278 kB / 392.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02726, allocations: 0 / 392.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.02744, allocations: 79.83 kB / 392.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.02848, allocations: 73.42 kB / 392.3 MB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.03051, allocations: 1.192 MB / 393.5 MB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.03075, allocations: 198.4 kB / 393.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.03093, allocations: 47.25 kB / 393.8 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.031, allocations: 28.5 kB / 393.8 MB, free: 1.43 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.031, allocations: 0 / 393.8 MB, free: 1.43 MB / 362.7 MB Notification: Performance of Templates: time 0.00804/0.03904, allocations: 2.899 MB / 396.7 MB, free: 14.6 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.921859803958796]