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.001525/0.001525, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001838/0.001838, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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 0.99/0.99, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1336/0.1336, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 2.004e-06/2.004e-06, allocations: 0 / 347.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.725e-05, allocations: 9.344 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003069/0.003106, allocations: 2.852 MB / 350.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004412, allocations: 0.7331 MB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.004642, allocations: 11.94 kB / 351.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.004822, allocations: 51.45 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.005052, allocations: 138.8 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.005359, allocations: 95.75 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.005733, allocations: 449.6 kB / 352 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.005947, allocations: 90.14 kB / 352.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.006237, allocations: 263.5 kB / 352.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.006392, allocations: 127.6 kB / 352.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.006433, allocations: 32 kB / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.006471, allocations: 32 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.006511, allocations: 79.67 kB / 352.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.006606, allocations: 143.7 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.006875, allocations: 282.9 kB / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.00688, allocations: 0 / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006881, allocations: 0 / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.00689, allocations: 0 / 353 MB, free: 4.09 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.000593/0.007483, allocations: 0.6793 MB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.007533, allocations: 12.03 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.007622, allocations: 72.66 kB / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.007839, allocations: 216.9 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.007856, allocations: 25.38 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.007905, allocations: 44.38 kB / 354 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.008265, allocations: 368.8 kB / 354.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.008285, allocations: 4.188 kB / 354.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.008307, allocations: 16.38 kB / 354.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.008318, allocations: 15.94 kB / 354.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.008492, allocations: 143.7 kB / 354.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.009912, allocations: 1.955 MB / 356.5 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.01021, allocations: 281.8 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.01032, allocations: 97.72 kB / 356.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.01034, allocations: 8 kB / 356.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.01038, allocations: 45.33 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.705e-06/0.01039, allocations: 0 / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004581/0.01084, allocations: 209.9 kB / 357.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.01097, allocations: 221.6 kB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.01118, allocations: 312 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.0112, allocations: 33.7 kB / 357.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01132, allocations: 290.6 kB / 358 MB, free: 14.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.01139, allocations: 119.1 kB / 358.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.01148, allocations: 104 kB / 358.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.01162, allocations: 0.5117 MB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.0117, allocations: 53.27 kB / 358.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.012, allocations: 0.5158 MB / 359.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.01246, allocations: 0.6318 MB / 359.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.01246, allocations: 4 kB / 359.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000484/0.01295, allocations: 488.6 kB / 360.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.01297, allocations: 12.97 kB / 360.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.01298, allocations: 12 kB / 360.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.013, allocations: 12 kB / 360.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.01325, allocations: 151.8 kB / 360.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.01327, allocations: 20.42 kB / 360.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.01343, allocations: 63.56 kB / 360.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.01346, allocations: 32 kB / 360.7 MB, free: 11.5 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.0001213/0.01358, allocations: 204.2 kB / 360.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.01367, allocations: 47.69 kB / 361 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.01372, allocations: 33.77 kB / 361 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.01373, allocations: 8 kB / 361 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01373, allocations: 8 kB / 361 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01374, allocations: 0 / 361 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.0145, allocations: 0.6482 MB / 361.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01451, allocations: 4 kB / 361.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.01475, allocations: 87.88 kB / 361.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.01476, allocations: 7.984 kB / 361.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.01479, allocations: 12 kB / 361.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.0148, allocations: 7.938 kB / 361.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0148, allocations: 0 / 361.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.01538, allocations: 1.089 MB / 362.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.0154, allocations: 27.75 kB / 362.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.01544, allocations: 12 kB / 362.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.01567, allocations: 8 kB / 362.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.01576, allocations: 27.89 kB / 362.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01577, allocations: 8 kB / 362.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.01588, allocations: 201.1 kB / 363.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01588, allocations: 0 / 363.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.01637, allocations: 99.89 kB / 363.2 MB, free: 8.875 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.0001346/0.01651, allocations: 108.4 kB / 363.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.01684, allocations: 248.9 kB / 363.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01685, allocations: 0 / 363.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.01692, allocations: 71.53 kB / 363.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.01754, allocations: 76.38 kB / 363.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.01909, allocations: 1.201 MB / 364.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.01919, allocations: 100.6 kB / 365 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.01931, allocations: 47.25 kB / 365.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.01936, allocations: 28.5 kB / 365.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01936, allocations: 0 / 365.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of Templates: time 0.005848/0.02521, allocations: 3.064 MB / 368.2 MB, free: 3.91 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.242664576973766]