Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001162/0.001162, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001357/0.001357, allocations: 173 kB / 24.06 MB, free: 456 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.9247/0.9247, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1422/0.1422, allocations: 32.38 MB / 270.7 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.939e-05, allocations: 2.312 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001823/0.001842, allocations: 1.678 MB / 349.8 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.002106, allocations: 103.6 kB / 349.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.002174, allocations: 11.94 kB / 349.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.911e-05/0.002223, allocations: 11.86 kB / 349.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.002336, allocations: 39.64 kB / 349.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.002461, allocations: 27.95 kB / 350 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.002571, allocations: 131.3 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.002697, allocations: 25.28 kB / 350.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.002795, allocations: 79.8 kB / 350.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.002866, allocations: 27.92 kB / 350.2 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.002888, allocations: 11.98 kB / 350.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.002905, allocations: 16 kB / 350.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.002929, allocations: 23.86 kB / 350.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.002967, allocations: 43.91 kB / 350.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003091, allocations: 79.72 kB / 350.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003092, allocations: 0 / 350.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003093, allocations: 0 / 350.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003097, allocations: 0 / 350.4 MB, free: 6.875 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003138/0.003411, allocations: 444.3 kB / 350.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.003452, allocations: 8.031 kB / 350.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.003489, allocations: 16.89 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.003618, allocations: 140.5 kB / 351 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.003633, allocations: 12.61 kB / 351 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.003665, allocations: 16.36 kB / 351 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.003788, allocations: 109.2 kB / 351.1 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.0038, allocations: 8.141 kB / 351.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003809, allocations: 4.375 kB / 351.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.003815, allocations: 4.375 kB / 351.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.003854, allocations: 35.66 kB / 351.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.004208, allocations: 0.5105 MB / 351.7 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.004274, allocations: 90.11 kB / 351.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.004292, allocations: 23.38 kB / 351.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.004299, allocations: 4 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.004316, allocations: 37.47 kB / 351.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.004317, allocations: 0 / 351.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002802/0.004597, allocations: 136.8 kB / 352 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.004618, allocations: 81.05 kB / 352.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.993e-05/0.004668, allocations: 185.8 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.004673, allocations: 29.7 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.004709, allocations: 170.5 kB / 352.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.004725, allocations: 31.73 kB / 352.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.004754, allocations: 39.36 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.004798, allocations: 0.4884 MB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.00481, allocations: 8 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.004846, allocations: 103.1 kB / 353.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.004908, allocations: 128.7 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00491, allocations: 4 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001282/0.005038, allocations: 152.7 kB / 353.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.00505, allocations: 8.25 kB / 353.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.005056, allocations: 7.938 kB / 353.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.005185, allocations: 35.36 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.005236, allocations: 23.98 kB / 353.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009859/0.006222, allocations: 3.434 MB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.006265, allocations: 7.953 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.006271, allocations: 4 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.006359, allocations: 168.5 kB / 357.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.006388, allocations: 20.09 kB / 357.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.006402, allocations: 8 kB / 357.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.006404, allocations: 4 kB / 357.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006407, allocations: 0 / 357.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.006411, allocations: 3.984 kB / 357.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.006553, allocations: 121.2 kB / 357.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006555, allocations: 0 / 357.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.006603, allocations: 12 kB / 357.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.169e-05/0.006675, allocations: 35.3 kB / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006682, allocations: 11.94 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.007945, allocations: 3.41 MB / 360.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007946, allocations: 4.031 kB / 360.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.008147, allocations: 386.3 kB / 361.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.008157, allocations: 15.88 kB / 361.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.008168, allocations: 11.88 kB / 361.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.008215, allocations: 0 / 361.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.008233, allocations: 7.984 kB / 361.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.008237, allocations: 7.938 kB / 361.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.008278, allocations: 131.2 kB / 361.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008278, allocations: 4 kB / 361.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.008508, allocations: 35.95 kB / 361.3 MB, free: 11.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.406e-05/0.008583, allocations: 95.25 kB / 361.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.008887, allocations: 399.2 kB / 361.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.008889, allocations: 0 / 361.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.009077, allocations: 379.8 kB / 362.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.009341, allocations: 24.39 kB / 362.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.00994, allocations: 402.2 kB / 362.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.009988, allocations: 75.69 kB / 362.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.74e-05/0.01002, allocations: 4.984 kB / 362.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.01008, allocations: 90.19 kB / 362.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01008, allocations: 0 / 362.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of Templates: time 0.003281/0.01336, allocations: 1.814 MB / 364.5 MB, free: 7.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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: 2.9484091848134995]