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.00189/0.00189, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002311/0.002311, allocations: 169.2 kB / 23.52 MB, free: 0.8984 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.424/1.424, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2169/0.2169, allocations: 32.36 MB / 270 MB, free: 14.79 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 1.633e-06/1.633e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.707e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002271/0.002298, allocations: 1.666 MB / 348.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.002551, allocations: 111.6 kB / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.00261, allocations: 0 / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.728e-05/0.002658, allocations: 15.86 kB / 348.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.002773, allocations: 39.64 kB / 348.7 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.002893, allocations: 27.91 kB / 348.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.003011, allocations: 135.3 kB / 348.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.00313, allocations: 25.28 kB / 348.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003235, allocations: 79.81 kB / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.003309, allocations: 31.91 kB / 349 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.003334, allocations: 8 kB / 349 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.003357, allocations: 12 kB / 349.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.003382, allocations: 23.91 kB / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.00343, allocations: 39.91 kB / 349.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.003571, allocations: 123.6 kB / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003573, allocations: 3.984 kB / 349.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003574, allocations: 0 / 349.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.003578, allocations: 4 kB / 349.2 MB, free: 7.48 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.000448/0.004026, allocations: 436.1 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.004059, allocations: 8.031 kB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.004113, allocations: 20.89 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004247, allocations: 148.4 kB / 349.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004262, allocations: 8.609 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.00429, allocations: 12.38 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.00447, allocations: 136.6 kB / 350 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.004487, allocations: 4.188 kB / 350 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.004499, allocations: 4.375 kB / 350 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004506, allocations: 12.38 kB / 350 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.004601, allocations: 63.78 kB / 350.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.005201, allocations: 0.5569 MB / 350.6 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.005317, allocations: 102 kB / 350.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.005351, allocations: 35.55 kB / 350.8 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.005366, allocations: 0 / 350.8 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.005383, allocations: 45.33 kB / 350.8 MB, free: 5.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.005384, allocations: 0 / 350.8 MB, free: 5.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005076/0.005891, allocations: 157.2 kB / 351 MB, free: 5.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.005916, allocations: 77.11 kB / 351 MB, free: 5.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.006007, allocations: 193.9 kB / 351.2 MB, free: 5.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.006017, allocations: 25.7 kB / 351.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.00607, allocations: 170.5 kB / 351.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.006091, allocations: 35.73 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.006132, allocations: 35.38 kB / 351.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.006212, allocations: 0.4962 MB / 352 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.006247, allocations: 27.98 kB / 352 MB, free: 4.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.006307, allocations: 121.8 kB / 352.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.006412, allocations: 152.7 kB / 352.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.006415, allocations: 4 kB / 352.3 MB, free: 4.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002254/0.00664, allocations: 184.7 kB / 352.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.006654, allocations: 8 kB / 352.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.00666, allocations: 4 kB / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.006871, allocations: 39.36 kB / 352.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.006951, allocations: 24.19 kB / 352.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.008494, allocations: 3.534 MB / 356.1 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.008549, allocations: 12.14 kB / 356.1 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.008558, allocations: 16 kB / 356.1 MB, free: 20 kB / 282.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 0.0001867/0.008745, allocations: 176.5 kB / 356.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.008789, allocations: 4 kB / 356.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.008821, allocations: 15.94 kB / 356.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008823, allocations: 4 kB / 356.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.008828, allocations: 7.922 kB / 356.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008832, allocations: 0 / 356.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.009121, allocations: 168.5 kB / 356.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009123, allocations: 4 kB / 356.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.009208, allocations: 12 kB / 356.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.009331, allocations: 39.36 kB / 356.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.009345, allocations: 4 kB / 356.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003151/0.0125, allocations: 3.53 MB / 360.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.0125, allocations: 0 / 360.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.013, allocations: 410.3 kB / 360.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.01301, allocations: 3.953 kB / 360.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01303, allocations: 4 kB / 360.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.01312, allocations: 0 / 360.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.01315, allocations: 12.14 kB / 360.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01317, allocations: 15.94 kB / 360.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.01327, allocations: 135.2 kB / 360.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01327, allocations: 0 / 360.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.01368, allocations: 39.89 kB / 360.7 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 0.0003102/0.01399, allocations: 99.19 kB / 360.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006392/0.01462, allocations: 435.6 kB / 361.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01463, allocations: 0 / 361.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.015, allocations: 379.4 kB / 361.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.01548, allocations: 27.97 kB / 361.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.01622, allocations: 386.6 kB / 362 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.01634, allocations: 97.8 kB / 362.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.01638, allocations: 8.969 kB / 362.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.0164, allocations: 12.5 kB / 362.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0164, allocations: 3.938 kB / 362.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of Templates: time 0.005744/0.02215, allocations: 1.686 MB / 363.8 MB, free: 7.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 4.953803476062603]