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.001064/0.001064, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001232/0.001232, allocations: 169 kB / 24.24 MB, free: 316 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 0.9837/0.9837, allocations: 158.6 MB / 186 MB, free: 2.906 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.15/0.15, allocations: 32.36 MB / 270.7 MB, free: 14.76 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 5.411e-06/5.411e-06, allocations: 0 / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/3.162e-05, allocations: 2.312 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002597/0.002629, allocations: 2.854 MB / 350.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003683, allocations: 0.7253 MB / 351.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.003864, allocations: 11.94 kB / 351.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.004027, allocations: 59.38 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.004187, allocations: 130.8 kB / 351.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.004426, allocations: 99.78 kB / 351.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.004712, allocations: 449.6 kB / 352 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.004876, allocations: 86.16 kB / 352.1 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.005084, allocations: 263.4 kB / 352.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005212, allocations: 131.6 kB / 352.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.005253, allocations: 32 kB / 352.5 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.005282, allocations: 36 kB / 352.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.005321, allocations: 79.67 kB / 352.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.191e-05/0.005413, allocations: 143.7 kB / 352.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.00565, allocations: 286.9 kB / 353 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005652, allocations: 0 / 353 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005653, allocations: 0 / 353 MB, free: 4.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.00566, allocations: 0 / 353 MB, free: 4.414 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.0005471/0.006207, allocations: 0.6676 MB / 353.7 MB, free: 3.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.006243, allocations: 16.03 kB / 353.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.006318, allocations: 72.66 kB / 353.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.006515, allocations: 220.9 kB / 354 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.006532, allocations: 29.38 kB / 354 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.006571, allocations: 36.38 kB / 354 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.006907, allocations: 360.8 kB / 354.4 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.006926, allocations: 8.172 kB / 354.4 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.006948, allocations: 16.38 kB / 354.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.00696, allocations: 15.94 kB / 354.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.007125, allocations: 150.8 kB / 354.6 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.008213, allocations: 1.955 MB / 356.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.00844, allocations: 277.8 kB / 356.8 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.008507, allocations: 101.8 kB / 356.9 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.008523, allocations: 4 kB / 356.9 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.008544, allocations: 45.39 kB / 356.9 MB, free: 136 kB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.008545, allocations: 0 / 356.9 MB, free: 136 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003719/0.008917, allocations: 209.4 kB / 357.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.008995, allocations: 213.6 kB / 357.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.009177, allocations: 312 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.009195, allocations: 33.7 kB / 357.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.009335, allocations: 295 kB / 358 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.009405, allocations: 119.1 kB / 358.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.0095, allocations: 104 kB / 358.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.009649, allocations: 0.5157 MB / 358.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.009735, allocations: 53.2 kB / 358.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.01004, allocations: 0.5235 MB / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.01052, allocations: 0.6362 MB / 359.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.01052, allocations: 4 kB / 359.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005142/0.01104, allocations: 480.9 kB / 360.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.01107, allocations: 15.98 kB / 360.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.01108, allocations: 12 kB / 360.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.01111, allocations: 12 kB / 360.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.01138, allocations: 143.8 kB / 360.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.0114, allocations: 23.92 kB / 360.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.01158, allocations: 64.5 kB / 360.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.01162, allocations: 36 kB / 360.7 MB, free: 11.82 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.0001532/0.01177, allocations: 200.3 kB / 360.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.01187, allocations: 43.75 kB / 360.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.01193, allocations: 33.77 kB / 361 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01193, allocations: 4 kB / 361 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.01194, allocations: 11.98 kB / 361 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01195, allocations: 0 / 361 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008209/0.01277, allocations: 0.6441 MB / 361.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.01278, allocations: 4.062 kB / 361.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.01304, allocations: 91.89 kB / 361.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.01304, allocations: 4 kB / 361.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.01307, allocations: 11.98 kB / 361.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01307, allocations: 4 kB / 361.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01307, allocations: 0 / 361.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.01364, allocations: 1.089 MB / 362.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.01367, allocations: 31.73 kB / 362.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.0137, allocations: 16 kB / 362.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.01388, allocations: 8 kB / 362.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.01393, allocations: 32.02 kB / 362.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.01394, allocations: 8 kB / 362.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01405, allocations: 197.1 kB / 363.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01405, allocations: 0 / 363.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.01454, allocations: 99.89 kB / 363.2 MB, free: 9.211 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.0001188/0.01466, allocations: 108.4 kB / 363.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.01497, allocations: 243.5 kB / 363.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01497, allocations: 320 / 363.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.01505, allocations: 85.64 kB / 363.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.01567, allocations: 76.75 kB / 363.7 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.01716, allocations: 1.201 MB / 364.9 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.841e-05/0.01725, allocations: 104.6 kB / 365 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.01735, allocations: 47.25 kB / 365.1 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.0174, allocations: 28.5 kB / 365.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0174, allocations: 0 / 365.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of Templates: time 0.005553/0.02295, allocations: 2.874 MB / 368 MB, free: 4.418 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.2848519610706717]