Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 161.2 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9971/0.9971, allocations: 177 MB / 205.2 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.278/0.278, allocations: 34.86 MB / 296.6 MB, free: 448 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.58e-05, allocations: 8.141 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002083/0.002109, allocations: 1.686 MB / 327.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002724/0.002382, allocations: 115.5 kB / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.002431, allocations: 0 / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.002475, allocations: 19.86 kB / 327.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.002572, allocations: 35.64 kB / 327.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.688e-05/0.002668, allocations: 27.91 kB / 327.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.002784, allocations: 131.9 kB / 327.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.002889, allocations: 34.7 kB / 327.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.002982, allocations: 71.88 kB / 328 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.003048, allocations: 35.89 kB / 328 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.003067, allocations: 8 kB / 328 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.003081, allocations: 12 kB / 328.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.003104, allocations: 19.92 kB / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.003139, allocations: 43.91 kB / 328.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003261, allocations: 87.59 kB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003264, allocations: 0 / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003264, allocations: 0 / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.003267, allocations: 0 / 328.2 MB, free: 4.844 MB / 298.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.0003075/0.003575, allocations: 310.2 kB / 328.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.003603, allocations: 8.031 kB / 328.5 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.003635, allocations: 12.92 kB / 328.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.003765, allocations: 137.6 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.003775, allocations: 8.609 kB / 328.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.003801, allocations: 16.33 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.003908, allocations: 106.2 kB / 328.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.003917, allocations: 4.172 kB / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.003926, allocations: 8.375 kB / 328.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003931, allocations: 8.375 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.00397, allocations: 40.98 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.004382, allocations: 375.9 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.004454, allocations: 69.16 kB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.004474, allocations: 17.72 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.00448, allocations: 0 / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.004498, allocations: 34.56 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.004499, allocations: 0 / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002719/0.004771, allocations: 127.2 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.004807, allocations: 81.11 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.00487, allocations: 123.4 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.004879, allocations: 25.7 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.004923, allocations: 123.8 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.004941, allocations: 31.7 kB / 329.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.004971, allocations: 29.69 kB / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.005102, allocations: 322.8 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.005115, allocations: 8 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.005159, allocations: 90.83 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.005229, allocations: 96.42 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005231, allocations: 0 / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000138/0.005369, allocations: 131.4 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005381, allocations: 8 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005386, allocations: 0 / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.005501, allocations: 29.8 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.005554, allocations: 31.91 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.006705, allocations: 2.309 MB / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.006751, allocations: 11.89 kB / 332.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.006756, allocations: 8.188 kB / 332.9 MB, free: 15.71 MB / 314.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 6.634e-05/0.006822, allocations: 125.8 kB / 333 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.006848, allocations: 7.938 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.006868, allocations: 20 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.006869, allocations: 0 / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006872, allocations: 0 / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.006877, allocations: 7.984 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.006996, allocations: 85.86 kB / 333.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006997, allocations: 3.938 kB / 333.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.007049, allocations: 16 kB / 333.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.394e-05/0.007113, allocations: 29.7 kB / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.007119, allocations: 0 / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.008234, allocations: 2.31 MB / 335.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.008237, allocations: 7.984 kB / 335.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.008378, allocations: 264.4 kB / 335.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.008386, allocations: 7.953 kB / 335.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.008395, allocations: 8 kB / 335.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.008443, allocations: 3.984 kB / 335.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.008465, allocations: 11.92 kB / 335.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.00847, allocations: 8.125 kB / 335.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.725e-05/0.008487, allocations: 22.05 kB / 335.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008487, allocations: 0 / 335.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.008704, allocations: 35.95 kB / 335.9 MB, free: 12.51 MB / 314.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 8.042e-05/0.008785, allocations: 76.41 kB / 335.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.009026, allocations: 294.4 kB / 336.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.00903, allocations: 0 / 336.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.00914, allocations: 262.3 kB / 336.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.009356, allocations: 25.12 kB / 336.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.009874, allocations: 330.8 kB / 336.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.009917, allocations: 71.83 kB / 336.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.079e-05/0.009948, allocations: 9.344 kB / 336.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.01, allocations: 63.36 kB / 337 MB, free: 11.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01, allocations: 4 kB / 337 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003247/0.01325, allocations: 1.806 MB / 338.8 MB, free: 9.516 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.876146054826677]