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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000828/0.000828, allocations: 86.59 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4039/0.4039, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.968e-05, allocations: 0 / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.5441, allocations: 84.55 MB / 0.5554 GB, free: 18.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5445, allocations: 69.72 kB / 0.5554 GB, free: 18.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004887/0.5494, allocations: 2.018 MB / 0.5574 GB, free: 17.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5494, allocations: 3.5 kB / 0.5574 GB, free: 17.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.5494, allocations: 4 kB / 0.5574 GB, free: 17.5 MB / 394.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.0003291/0.5497, allocations: 377.9 kB / 0.5578 GB, free: 17.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5498, allocations: 8.031 kB / 0.5578 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.5498, allocations: 15.34 kB / 0.5578 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.55, allocations: 180 kB / 0.558 GB, free: 16.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.55, allocations: 8.109 kB / 0.558 GB, free: 16.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.55, allocations: 12.61 kB / 0.558 GB, free: 16.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.5502, allocations: 126.3 kB / 0.5581 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5503, allocations: 4 kB / 0.5581 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5503, allocations: 4.672 kB / 0.5581 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5503, allocations: 5.375 kB / 0.5581 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.832e-05/0.5504, allocations: 56.62 kB / 0.5582 GB, free: 16.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.5511, allocations: 0.5461 MB / 0.5587 GB, free: 16.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5512, allocations: 86.17 kB / 0.5588 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.5512, allocations: 28.03 kB / 0.5588 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.5512, allocations: 0 / 0.5588 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.5513, allocations: 39.67 kB / 0.5589 GB, free: 16.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.5513, allocations: 0 / 0.5589 GB, free: 16.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002922/0.5516, allocations: 103 kB / 0.559 GB, free: 15.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.5516, allocations: 81.06 kB / 0.559 GB, free: 15.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.5517, allocations: 120 kB / 0.5592 GB, free: 15.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.5517, allocations: 25.7 kB / 0.5592 GB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.5518, allocations: 112.1 kB / 0.5593 GB, free: 15.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.5518, allocations: 29.2 kB / 0.5593 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/0.5518, allocations: 7.312 kB / 0.5593 GB, free: 15.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.5519, allocations: 325.5 kB / 0.5596 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.5519, allocations: 20.69 kB / 0.5597 GB, free: 15.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.552, allocations: 79.98 kB / 0.5597 GB, free: 15.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.552, allocations: 49.52 kB / 0.5598 GB, free: 15.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.552, allocations: 0 / 0.5598 GB, free: 15.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002163/0.5523, allocations: 166.6 kB / 0.5599 GB, free: 15.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5523, allocations: 7.953 kB / 0.5599 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5523, allocations: 5.453 kB / 0.5599 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.5525, allocations: 36.33 kB / 0.56 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.5525, allocations: 24.88 kB / 0.56 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5538, allocations: 2.538 MB / 0.5625 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.5538, allocations: 11.62 kB / 0.5625 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.5538, allocations: 8 kB / 0.5625 GB, free: 12.27 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.5539, allocations: 117.2 kB / 0.5626 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.5539, allocations: 15.95 kB / 0.5626 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.554, allocations: 11.94 kB / 0.5626 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.554, allocations: 0 / 0.5626 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.554, allocations: 5.438 kB / 0.5626 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.554, allocations: 0 / 0.5626 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.5542, allocations: 202.8 kB / 0.5628 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5542, allocations: 0 / 0.5628 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.5543, allocations: 13.27 kB / 0.5629 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.5544, allocations: 33.08 kB / 0.5629 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5544, allocations: 11 kB / 0.5629 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.5556, allocations: 2.531 MB / 0.5654 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.5556, allocations: 0 / 0.5654 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.5558, allocations: 319.1 kB / 0.5657 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.5559, allocations: 88.95 kB / 0.5658 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5559, allocations: 2.141 kB / 0.5658 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.556, allocations: 4 kB / 0.5658 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.556, allocations: 20.17 kB / 0.5658 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.556, allocations: 0 / 0.5658 GB, free: 8.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.5561, allocations: 98.78 kB / 0.5659 GB, free: 8.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5561, allocations: 0 / 0.5659 GB, free: 8.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.5564, allocations: 39.72 kB / 0.5659 GB, free: 8.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.5565, allocations: 101.9 kB / 0.566 GB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.5568, allocations: 291.6 kB / 0.5663 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5569, allocations: 0 / 0.5663 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.5571, allocations: 262.8 kB / 0.5665 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.5574, allocations: 19.73 kB / 0.5666 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.558, allocations: 397.2 kB / 0.5669 GB, free: 7.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.5581, allocations: 0.7125 MB / 0.5676 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.5582, allocations: 13.11 kB / 0.5676 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.5582, allocations: 11.44 kB / 0.5677 GB, free: 6.891 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5582, allocations: 0 / 0.5677 GB, free: 6.891 MB / 394.7 MB Notification: Performance of Templates: time 0.004029/0.5623, allocations: 1.404 MB / 0.569 GB, free: 6.078 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches