Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001054/0.001054, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.001033/0.001033, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.942/0.942, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2594/0.2594, allocations: 34.27 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.913e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003182/0.003211, allocations: 2.871 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.004246, allocations: 0.7632 MB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.004385, allocations: 11.94 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.004552, allocations: 59.39 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.00473, allocations: 134.8 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.005045, allocations: 107.8 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.00536, allocations: 453.6 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.005537, allocations: 102.1 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.005817, allocations: 267.4 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.005973, allocations: 131.6 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.00601, allocations: 32 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.006084, allocations: 36 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.00613, allocations: 79.67 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.006228, allocations: 139.7 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.006528, allocations: 294.8 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.006533, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006534, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.00654, allocations: 4 kB / 383.5 MB, free: 13.18 MB / 362.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.0007001/0.00724, allocations: 0.6754 MB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007278, allocations: 8.031 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.007469, allocations: 92.64 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.007723, allocations: 220.5 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.007744, allocations: 33.38 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.007796, allocations: 48.31 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.008169, allocations: 356.9 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.008187, allocations: 12.08 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.008211, allocations: 16.38 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.008224, allocations: 15.94 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.008401, allocations: 139.7 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.00984, allocations: 1.967 MB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.0101, allocations: 277.7 kB / 387.3 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.01018, allocations: 97.75 kB / 387.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.0102, allocations: 8 kB / 387.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01022, allocations: 45.33 kB / 387.4 MB, free: 8.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/0.01023, allocations: 0 / 387.4 MB, free: 8.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003601/0.01059, allocations: 213.2 kB / 387.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.01065, allocations: 217.6 kB / 387.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.01082, allocations: 314.1 kB / 388.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.01084, allocations: 33.7 kB / 388.2 MB, free: 8.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01094, allocations: 294.6 kB / 388.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.011, allocations: 123.1 kB / 388.6 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.01109, allocations: 108 kB / 388.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01121, allocations: 0.5118 MB / 389.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.01128, allocations: 49.27 kB / 389.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.01153, allocations: 0.5162 MB / 389.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.01213, allocations: 0.6366 MB / 390.4 MB, free: 5.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.01213, allocations: 4 kB / 390.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004307/0.01256, allocations: 485.3 kB / 390.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.01258, allocations: 16.22 kB / 390.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.01259, allocations: 12 kB / 390.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.01261, allocations: 12 kB / 391 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.01285, allocations: 147.8 kB / 391.1 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.01286, allocations: 27.91 kB / 391.1 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.013, allocations: 63.56 kB / 391.2 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.01303, allocations: 32 kB / 391.2 MB, free: 4.539 MB / 362.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.0001028/0.01313, allocations: 208.2 kB / 391.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.01321, allocations: 43.75 kB / 391.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.01326, allocations: 37.8 kB / 391.5 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01326, allocations: 4 kB / 391.5 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01327, allocations: 4 kB / 391.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01327, allocations: 0 / 391.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.01403, allocations: 0.6481 MB / 392.2 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.01403, allocations: 0 / 392.2 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.01427, allocations: 91.88 kB / 392.2 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01427, allocations: 4 kB / 392.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.0143, allocations: 8 kB / 392.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.0143, allocations: 8 kB / 392.3 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.01431, allocations: 11.94 kB / 392.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.01478, allocations: 1.085 MB / 393.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.01481, allocations: 31.94 kB / 393.4 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.01484, allocations: 8 kB / 393.4 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.015, allocations: 11.98 kB / 393.4 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.01505, allocations: 27.89 kB / 393.4 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01506, allocations: 12 kB / 393.5 MB, free: 2.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.91e-05/0.01515, allocations: 207 kB / 393.7 MB, free: 2.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01515, allocations: 4 kB / 393.7 MB, free: 2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000427/0.01558, allocations: 103.8 kB / 393.8 MB, free: 1.898 MB / 362.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.0001063/0.01568, allocations: 106.2 kB / 393.9 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.01595, allocations: 234.7 kB / 394.1 MB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01596, allocations: 4 kB / 394.1 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.01603, allocations: 81.39 kB / 394.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.01661, allocations: 75.48 kB / 394.2 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.01802, allocations: 1.192 MB / 395.4 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.394e-05/0.0181, allocations: 112.6 kB / 395.6 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.01822, allocations: 35.27 kB / 395.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.01827, allocations: 28.5 kB / 395.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01827, allocations: 4 kB / 395.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of Templates: time 0.005446/0.02371, allocations: 3.06 MB / 398.7 MB, free: 12.95 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.062694844789803]