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.001226/0.001226, allocations: 95.31 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.001166/0.001166, allocations: 165 kB / 23.8 MB, free: 0.7773 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/1, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1313/0.1313, 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.194e-06/2.194e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.546e-05, allocations: 8.219 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002816/0.002851, allocations: 2.856 MB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004003, allocations: 0.7293 MB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.004188, allocations: 11.94 kB / 351.3 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.004348, allocations: 55.39 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.004551, allocations: 134.8 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.004823, allocations: 91.81 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.005156, allocations: 453.6 kB / 352 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.005347, allocations: 98.14 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.005609, allocations: 263.4 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.005749, allocations: 123.7 kB / 352.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.005786, allocations: 32 kB / 352.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-05/0.005822, allocations: 36 kB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.005861, allocations: 79.67 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.005949, allocations: 143.7 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.006193, allocations: 278.9 kB / 353 MB, free: 4.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006196, allocations: 0 / 353 MB, free: 4.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006198, allocations: 0 / 353 MB, free: 4.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.006204, allocations: 0 / 353 MB, free: 4.07 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.000568/0.006772, allocations: 0.6754 MB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.00681, allocations: 12.03 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.006899, allocations: 72.66 kB / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.007121, allocations: 216.9 kB / 354 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.007139, allocations: 29.38 kB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.007188, allocations: 40.38 kB / 354 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.007538, allocations: 360.8 kB / 354.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.007556, allocations: 8.188 kB / 354.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.007579, allocations: 16.38 kB / 354.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.00759, allocations: 15.94 kB / 354.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.007766, allocations: 150.5 kB / 354.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.008937, allocations: 1.955 MB / 356.5 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.009183, allocations: 285.8 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.009267, allocations: 97.77 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.009289, allocations: 8 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.009315, allocations: 41.39 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.009316, allocations: 3.938 kB / 357 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003853/0.009701, allocations: 213.2 kB / 357.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.009773, allocations: 210 kB / 357.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.009972, allocations: 316 kB / 357.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.009988, allocations: 33.7 kB / 357.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01011, allocations: 294.7 kB / 358 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.01017, allocations: 115.1 kB / 358.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.01026, allocations: 104 kB / 358.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01038, allocations: 0.5157 MB / 358.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.01047, allocations: 57.2 kB / 358.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.01074, allocations: 0.5119 MB / 359.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.01116, allocations: 0.6322 MB / 359.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.01117, allocations: 4 kB / 359.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004726/0.01164, allocations: 488.7 kB / 360.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.01166, allocations: 12 kB / 360.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.01167, allocations: 12.88 kB / 360.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.0117, allocations: 16 kB / 360.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.01195, allocations: 147.8 kB / 360.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.01196, allocations: 19.92 kB / 360.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.01211, allocations: 64.06 kB / 360.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.01214, allocations: 35.98 kB / 360.7 MB, free: 11.48 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.0001138/0.01225, allocations: 200.3 kB / 360.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.01235, allocations: 43.75 kB / 361 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.0124, allocations: 33.77 kB / 361 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.0124, allocations: 4 kB / 361 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.01241, allocations: 8 kB / 361 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01241, allocations: 4 kB / 361 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.01315, allocations: 0.6519 MB / 361.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01315, allocations: 4 kB / 361.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.01339, allocations: 91.88 kB / 361.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01339, allocations: 4 kB / 361.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.01342, allocations: 8 kB / 361.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01342, allocations: 4 kB / 361.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01342, allocations: 0 / 361.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.01393, allocations: 1.089 MB / 362.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.01395, allocations: 27.75 kB / 362.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01398, allocations: 12 kB / 362.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.01416, allocations: 11.98 kB / 362.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.01421, allocations: 27.84 kB / 362.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.01422, allocations: 8 kB / 362.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.455e-05/0.01431, allocations: 201.1 kB / 363.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01431, allocations: 0 / 363.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004578/0.01477, allocations: 99.89 kB / 363.2 MB, free: 8.863 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.0001002/0.01487, allocations: 112.6 kB / 363.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01516, allocations: 245.4 kB / 363.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01516, allocations: 0 / 363.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.01523, allocations: 72.19 kB / 363.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.01583, allocations: 80.2 kB / 363.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.01721, allocations: 1.204 MB / 364.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.963e-05/0.0173, allocations: 100.6 kB / 365 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.411e-05/0.01739, allocations: 43.27 kB / 365.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.01744, allocations: 28.5 kB / 365.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01744, allocations: 0 / 365.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of Templates: time 0.004962/0.0224, allocations: 2.88 MB / 368 MB, free: 4.074 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.248791196849197]