Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001192/0.001192, allocations: 77 kB / 20.65 MB, free: 3.848 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.00137/0.00137, allocations: 177 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.37 MB / 270.7 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.183e-05, allocations: 9.344 kB / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003386/0.003408, allocations: 2.813 MB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004452, allocations: 0.7292 MB / 351.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.004619, allocations: 11.94 kB / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.004791, allocations: 55.44 kB / 351.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.005007, allocations: 130.8 kB / 351.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.005247, allocations: 99.73 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.005587, allocations: 449.6 kB / 352.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.005772, allocations: 98.14 kB / 352.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.006063, allocations: 251.5 kB / 352.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.006238, allocations: 135.6 kB / 352.9 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.006285, allocations: 36 kB / 352.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.006335, allocations: 32 kB / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.006387, allocations: 75.73 kB / 353 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.006506, allocations: 139.7 kB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.006797, allocations: 282.9 kB / 353.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.0068, allocations: 4 kB / 353.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006801, allocations: 0 / 353.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006807, allocations: 0 / 353.4 MB, free: 3.859 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.000678/0.007485, allocations: 0.6793 MB / 354.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.007529, allocations: 8.031 kB / 354.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.007619, allocations: 76.66 kB / 354.2 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.00784, allocations: 220.8 kB / 354.4 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.007864, allocations: 25.38 kB / 354.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.007917, allocations: 44.36 kB / 354.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.0083, allocations: 344.8 kB / 354.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.008323, allocations: 4.188 kB / 354.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.008349, allocations: 16.38 kB / 354.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.008362, allocations: 19.94 kB / 354.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.008558, allocations: 129.7 kB / 355 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.00997, allocations: 1.959 MB / 356.9 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.01032, allocations: 281.6 kB / 357.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.01041, allocations: 89.91 kB / 357.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.01044, allocations: 8 kB / 357.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.01048, allocations: 45.33 kB / 357.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.01048, allocations: 0 / 357.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004518/0.01093, allocations: 205.7 kB / 357.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.01105, allocations: 213.6 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.01128, allocations: 315.9 kB / 358.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.0113, allocations: 30.08 kB / 358.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.0115, allocations: 302.5 kB / 358.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.01158, allocations: 119 kB / 358.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01171, allocations: 103.9 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.01195, allocations: 0.5156 MB / 359.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.235e-05/0.01204, allocations: 45.33 kB / 359.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.0124, allocations: 0.5118 MB / 359.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.01294, allocations: 0.6201 MB / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.01295, allocations: 0 / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008104/0.01376, allocations: 449 kB / 360.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.01378, allocations: 12 kB / 360.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.0138, allocations: 12 kB / 360.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.01383, allocations: 16 kB / 360.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.01423, allocations: 144.9 kB / 360.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.01425, allocations: 27.86 kB / 360.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.01453, allocations: 67.56 kB / 361 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.01456, allocations: 28 kB / 361 MB, free: 11.36 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 0.000145/0.01471, allocations: 204.2 kB / 361.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.01487, allocations: 39.75 kB / 361.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.01493, allocations: 33.77 kB / 361.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.01493, allocations: 4 kB / 361.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.01494, allocations: 7.984 kB / 361.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01495, allocations: 0 / 361.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.01601, allocations: 0.6173 MB / 361.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01601, allocations: 0 / 361.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.01639, allocations: 83.89 kB / 362 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.0164, allocations: 4 kB / 362 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.01643, allocations: 11.94 kB / 362 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.01643, allocations: 7.984 kB / 362 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.01644, allocations: 4 kB / 362 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.01705, allocations: 1.077 MB / 363.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.01709, allocations: 35.81 kB / 363.2 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.01713, allocations: 16.11 kB / 363.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.01747, allocations: 8 kB / 363.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.01753, allocations: 31.84 kB / 363.2 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01755, allocations: 7.984 kB / 363.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.01766, allocations: 189.1 kB / 363.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01766, allocations: 0 / 363.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007683/0.01843, allocations: 99.89 kB / 363.5 MB, free: 8.809 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 0.0001289/0.01856, allocations: 112.4 kB / 363.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.01889, allocations: 219.8 kB / 363.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01889, allocations: 4.062 kB / 363.8 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.019, allocations: 75.45 kB / 363.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.02, allocations: 68.44 kB / 364 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.0222, allocations: 1.205 MB / 365.2 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.02232, allocations: 104.6 kB / 365.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.02247, allocations: 39.27 kB / 365.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.02265, allocations: 134.2 kB / 365.4 MB, free: 6.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02265, allocations: 0 / 365.4 MB, free: 6.762 MB / 298.7 MB Notification: Performance of Templates: time 0.005815/0.02846, allocations: 3.178 MB / 368.6 MB, free: 3.637 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.26963277393952]