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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009948/0.0009947, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009674/0.0009674, allocations: 99.5 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.58e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.521, allocations: 86.14 MB / 0.5885 GB, free: 368 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.5213, allocations: 68.83 kB / 0.5885 GB, free: 328 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005117/0.5264, allocations: 2.049 MB / 0.5905 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5264, allocations: 0 / 0.5905 GB, free: 14.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5264, allocations: 0 / 0.5905 GB, free: 14.63 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.0004484/0.5269, allocations: 373.5 kB / 0.5909 GB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.527, allocations: 20.02 kB / 0.5909 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.527, allocations: 11.84 kB / 0.5909 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.5272, allocations: 174.9 kB / 0.5911 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5272, allocations: 4 kB / 0.5911 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.5273, allocations: 11.94 kB / 0.5911 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.5274, allocations: 56.02 kB / 0.5912 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5276, allocations: 112.7 kB / 0.5913 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5276, allocations: 0 / 0.5913 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5276, allocations: 0 / 0.5913 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.5277, allocations: 8 kB / 0.5913 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.5284, allocations: 0.5126 MB / 0.5918 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.5286, allocations: 79.61 kB / 0.5919 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.5286, allocations: 21.34 kB / 0.5919 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5287, allocations: 4 kB / 0.5919 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.5287, allocations: 38.12 kB / 0.5919 GB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.5287, allocations: 0 / 0.5919 GB, free: 13.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003519/0.5291, allocations: 94.27 kB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5291, allocations: 91.77 kB / 0.5921 GB, free: 12.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.5292, allocations: 108.4 kB / 0.5922 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5293, allocations: 25.7 kB / 0.5922 GB, free: 12.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.5293, allocations: 115 kB / 0.5923 GB, free: 12.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.5294, allocations: 31.16 kB / 0.5924 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5294, allocations: 4 kB / 0.5924 GB, free: 12.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5295, allocations: 326.3 kB / 0.5927 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.5296, allocations: 19.38 kB / 0.5927 GB, free: 12.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.5296, allocations: 81.23 kB / 0.5928 GB, free: 12.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.5297, allocations: 40.06 kB / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.5297, allocations: 4 kB / 0.5928 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002432/0.53, allocations: 145.5 kB / 0.593 GB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.53, allocations: 4 kB / 0.593 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.53, allocations: 4 kB / 0.593 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.5302, allocations: 40.84 kB / 0.593 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.5303, allocations: 19.94 kB / 0.593 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.5319, allocations: 2.43 MB / 0.5954 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.532, allocations: 3.906 kB / 0.5954 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.532, allocations: 8 kB / 0.5954 GB, free: 9.43 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 8.736e-05/0.5321, allocations: 112.7 kB / 0.5955 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.5322, allocations: 8 kB / 0.5955 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.5322, allocations: 7.969 kB / 0.5955 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5322, allocations: 7.984 kB / 0.5955 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5323, allocations: 11.94 kB / 0.5956 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5323, allocations: 3.984 kB / 0.5956 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.5325, allocations: 164.5 kB / 0.5957 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.5325, allocations: 0 / 0.5957 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.5326, allocations: 19.73 kB / 0.5957 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-05/0.5327, allocations: 41.08 kB / 0.5958 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.5327, allocations: 0 / 0.5958 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.5343, allocations: 2.415 MB / 0.5981 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5343, allocations: 0 / 0.5981 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.5346, allocations: 318.3 kB / 0.5984 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.5347, allocations: 93 kB / 0.5985 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.5347, allocations: 3 kB / 0.5985 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.5348, allocations: 0 / 0.5985 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.5348, allocations: 11.98 kB / 0.5985 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5349, allocations: 8 kB / 0.5985 GB, free: 6.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.113e-05/0.5349, allocations: 88.91 kB / 0.5986 GB, free: 5.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5349, allocations: 0 / 0.5986 GB, free: 5.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.5353, allocations: 40.09 kB / 0.5987 GB, free: 5.895 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.0001469/0.5354, allocations: 103.2 kB / 0.5988 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.5358, allocations: 272.1 kB / 0.599 GB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5359, allocations: 0 / 0.599 GB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.5361, allocations: 236.2 kB / 0.5992 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.5365, allocations: 27.22 kB / 0.5993 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.5372, allocations: 395.3 kB / 0.5997 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5375, allocations: 0.7123 MB / 0.6003 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.5376, allocations: 8.891 kB / 0.6004 GB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.5376, allocations: 11.44 kB / 0.6004 GB, free: 4.098 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5376, allocations: 0 / 0.6004 GB, free: 4.098 MB / 394.7 MB Notification: Performance of Templates: time 0.003927/0.5415, allocations: 1.336 MB / 0.6017 GB, free: 2.777 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches