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.001209/0.001209, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001216/0.001216, allocations: 169.2 kB / 24.84 MB, free: 9.297 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 1.04/1.04, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1564/0.1564, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.443e-06/1.443e-06, allocations: 0 / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.62e-05, allocations: 8.219 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002561/0.002577, allocations: 2.82 MB / 351.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.00352, allocations: 0.7176 MB / 352.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.003674, allocations: 11.94 kB / 352.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.003829, allocations: 59.38 kB / 352.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.004003, allocations: 134.8 kB / 352.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.00424, allocations: 99.73 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.004678, allocations: 449.7 kB / 353.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.004891, allocations: 86.17 kB / 353.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.005247, allocations: 267.4 kB / 353.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.005435, allocations: 127.6 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.005478, allocations: 32 kB / 353.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.53e-05/0.005513, allocations: 32 kB / 353.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.005564, allocations: 87.64 kB / 353.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.005662, allocations: 131.7 kB / 353.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.005957, allocations: 282.9 kB / 354.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.00596, allocations: 4 kB / 354.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005961, allocations: 0 / 354.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.005967, allocations: 0 / 354.2 MB, free: 3.855 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.0005112/0.006478, allocations: 0.6754 MB / 354.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.006513, allocations: 8.031 kB / 354.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.00658, allocations: 76.66 kB / 355 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.006774, allocations: 220.9 kB / 355.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.006792, allocations: 29.38 kB / 355.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.006832, allocations: 44.34 kB / 355.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.007093, allocations: 340.8 kB / 355.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.007111, allocations: 4.188 kB / 355.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.007131, allocations: 20.31 kB / 355.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.007141, allocations: 19.88 kB / 355.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.007258, allocations: 118.8 kB / 355.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.008463, allocations: 1.971 MB / 357.7 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.008774, allocations: 273.7 kB / 358 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.008843, allocations: 85.77 kB / 358.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.008862, allocations: 8 kB / 358.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.00889, allocations: 49.31 kB / 358.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.008891, allocations: 4 kB / 358.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003359/0.009227, allocations: 202 kB / 358.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.009327, allocations: 209.6 kB / 358.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.009537, allocations: 315.9 kB / 358.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.009556, allocations: 29.7 kB / 358.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.009691, allocations: 294.5 kB / 359.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.009755, allocations: 123 kB / 359.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.00984, allocations: 107.9 kB / 359.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.009988, allocations: 0.5199 MB / 359.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.01004, allocations: 45.34 kB / 359.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.01031, allocations: 0.5118 MB / 360.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.01073, allocations: 0.6124 MB / 361.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.01074, allocations: 11.98 kB / 361.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004265/0.01116, allocations: 449.5 kB / 361.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.01118, allocations: 15.98 kB / 361.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.0112, allocations: 12 kB / 361.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01121, allocations: 12 kB / 361.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.01147, allocations: 151.8 kB / 361.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.01148, allocations: 23.91 kB / 361.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.01164, allocations: 63.56 kB / 361.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.01167, allocations: 28 kB / 361.8 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.0001255/0.01179, allocations: 204.4 kB / 362 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.0119, allocations: 43.75 kB / 362.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.01195, allocations: 33.77 kB / 362.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01196, allocations: 4 kB / 362.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.01196, allocations: 4 kB / 362.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.01197, allocations: 7.922 kB / 362.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.01266, allocations: 0.6017 MB / 362.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01266, allocations: 192 / 362.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.01289, allocations: 87.88 kB / 362.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.0129, allocations: 4 kB / 362.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.01292, allocations: 20.05 kB / 362.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01292, allocations: 4 kB / 362.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01292, allocations: 7.938 kB / 362.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.01339, allocations: 1.074 MB / 363.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.01342, allocations: 35.73 kB / 363.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.01345, allocations: 12.12 kB / 363.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.01364, allocations: 8 kB / 364 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.01368, allocations: 31.83 kB / 364 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01369, allocations: 16 kB / 364 MB, free: 9.078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.01377, allocations: 193.1 kB / 364.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01377, allocations: 0 / 364.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.01423, allocations: 99.89 kB / 364.3 MB, free: 8.797 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.0001003/0.01433, allocations: 104.4 kB / 364.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01457, allocations: 229.6 kB / 364.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01457, allocations: 0 / 364.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.01463, allocations: 68.16 kB / 364.7 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.0005762/0.01521, allocations: 70.77 kB / 364.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.01644, allocations: 1.205 MB / 366 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.896e-05/0.01652, allocations: 104.6 kB / 366.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.661e-05/0.0166, allocations: 39.25 kB / 366.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.01672, allocations: 142.2 kB / 366.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01672, allocations: 0 / 366.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of Templates: time 0.005025/0.02175, allocations: 3.222 MB / 369.5 MB, free: 3.59 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.2543406058102846]