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.001483/0.001483, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001624/0.001624, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.612/1.612, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.241/0.241, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.804e-06/1.804e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.894e-05, allocations: 6.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003043/0.003072, allocations: 2.635 MB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.004057, allocations: 0.7253 MB / 350.3 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.004199, allocations: 11.88 kB / 350.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.004374, allocations: 59.38 kB / 350.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.00458, allocations: 130.8 kB / 350.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.004806, allocations: 91.8 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.005091, allocations: 449.6 kB / 351 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.005266, allocations: 98.09 kB / 351.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.005523, allocations: 259.5 kB / 351.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.005681, allocations: 123.6 kB / 351.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.005724, allocations: 32 kB / 351.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.005772, allocations: 32 kB / 351.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.005818, allocations: 83.66 kB / 351.6 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.005926, allocations: 135.7 kB / 351.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.006248, allocations: 434.6 kB / 352.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006251, allocations: 7.938 kB / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006252, allocations: 0 / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.006258, allocations: 0 / 352.2 MB, free: 4.508 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.0007731/0.007031, allocations: 0.5755 MB / 352.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.007073, allocations: 8.031 kB / 352.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.007183, allocations: 72.66 kB / 352.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.007482, allocations: 226 kB / 353.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.007508, allocations: 29.38 kB / 353.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.007569, allocations: 40.36 kB / 353.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.008086, allocations: 394.7 kB / 353.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.008111, allocations: 8.172 kB / 353.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.008143, allocations: 16.38 kB / 353.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.008153, allocations: 11.94 kB / 353.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.00852, allocations: 223.7 kB / 353.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.01018, allocations: 1.556 MB / 355.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.01054, allocations: 258.3 kB / 355.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.01067, allocations: 102 kB / 355.7 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.01069, allocations: 4 kB / 355.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.01071, allocations: 46.5 kB / 355.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.01071, allocations: 0 / 355.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006173/0.01133, allocations: 265.2 kB / 356 MB, free: 444 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.01139, allocations: 221.5 kB / 356.2 MB, free: 172 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.01163, allocations: 262.1 kB / 356.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.01166, allocations: 33.7 kB / 356.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.01187, allocations: 239.9 kB / 356.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.01199, allocations: 127 kB / 356.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.01213, allocations: 98.3 kB / 357 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.01235, allocations: 342.8 kB / 357.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.01257, allocations: 97.27 kB / 357.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.01313, allocations: 437 kB / 357.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.01398, allocations: 0.5585 MB / 358.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.01399, allocations: 4 kB / 358.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001015/0.015, allocations: 0.5606 MB / 358.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.01503, allocations: 16 kB / 359 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.01505, allocations: 15.92 kB / 359 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.01508, allocations: 16 kB / 359 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.01557, allocations: 151.8 kB / 359.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.0156, allocations: 23.86 kB / 359.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.01591, allocations: 59.62 kB / 359.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.01596, allocations: 32 kB / 359.2 MB, free: 12.78 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.0002253/0.01618, allocations: 181.5 kB / 359.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.01635, allocations: 47.75 kB / 359.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.01642, allocations: 33.77 kB / 359.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.01643, allocations: 4 kB / 359.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.01644, allocations: 4 kB / 359.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.01645, allocations: 0 / 359.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.01778, allocations: 0.5619 MB / 360.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.01779, allocations: 4 kB / 360.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.01827, allocations: 87.88 kB / 360.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01827, allocations: 4 kB / 360.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.0183, allocations: 16.06 kB / 360.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.0183, allocations: 4 kB / 360.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01831, allocations: 4 kB / 360.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/0.01928, allocations: 0.83 MB / 361 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.01933, allocations: 31.75 kB / 361 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.01938, allocations: 11.98 kB / 361.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.01974, allocations: 8 kB / 361.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.01983, allocations: 31.84 kB / 361.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01984, allocations: 15.98 kB / 361.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.02003, allocations: 165.2 kB / 361.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02003, allocations: 0 / 361.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007875/0.02082, allocations: 107.8 kB / 361.4 MB, free: 10.56 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.0001737/0.02099, allocations: 103.2 kB / 361.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.02162, allocations: 277.7 kB / 361.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02162, allocations: 0 / 361.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.02181, allocations: 96.77 kB / 361.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.02282, allocations: 69.05 kB / 361.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.02501, allocations: 1.185 MB / 363.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.02525, allocations: 194.4 kB / 363.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.02541, allocations: 47.25 kB / 363.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.02548, allocations: 28.5 kB / 363.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02548, allocations: 0 / 363.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of Templates: time 0.00831/0.03379, allocations: 2.898 MB / 366.3 MB, free: 5.664 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03894606907852]