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.0009634/0.0009634, allocations: 202.2 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008195/0.0008194, allocations: 99.42 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3869/0.3869, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 11.98 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3352, allocations: 62.95 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.4476, allocations: 86.74 MB / 0.6031 GB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4479, allocations: 71.95 kB / 0.6032 GB, free: 2.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005297/0.4532, allocations: 2.066 MB / 0.6052 GB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4532, allocations: 0 / 0.6052 GB, free: 464 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.4532, allocations: 0 / 0.6052 GB, free: 464 kB / 410.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.0003902/0.4536, allocations: 391.4 kB / 0.6056 GB, free: 16 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4537, allocations: 8.031 kB / 0.6056 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.4537, allocations: 12.8 kB / 0.6056 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4539, allocations: 176.2 kB / 0.6058 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4539, allocations: 12.61 kB / 0.6058 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.4539, allocations: 16.28 kB / 0.6058 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.4541, allocations: 125.6 kB / 0.6059 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4542, allocations: 4.188 kB / 0.6059 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4542, allocations: 7.938 kB / 0.6059 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4542, allocations: 4 kB / 0.6059 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.4543, allocations: 67.89 kB / 0.606 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.4551, allocations: 0.5294 MB / 0.6065 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4552, allocations: 93.14 kB / 0.6066 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.4553, allocations: 25.72 kB / 0.6066 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.4553, allocations: 7.938 kB / 0.6066 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4553, allocations: 34.56 kB / 0.6067 GB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.4553, allocations: 0 / 0.6067 GB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000564/0.4559, allocations: 306.5 kB / 0.607 GB, free: 14.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4559, allocations: 81.11 kB / 0.607 GB, free: 14.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.456, allocations: 121.8 kB / 0.6072 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4561, allocations: 29.7 kB / 0.6072 GB, free: 14.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.4561, allocations: 115.7 kB / 0.6073 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.4562, allocations: 31.56 kB / 0.6073 GB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4562, allocations: 0 / 0.6073 GB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4563, allocations: 326.8 kB / 0.6076 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.4564, allocations: 23.98 kB / 0.6077 GB, free: 13.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.4564, allocations: 84.58 kB / 0.6077 GB, free: 13.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.4566, allocations: 124.4 kB / 0.6079 GB, free: 13.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4566, allocations: 3.938 kB / 0.6079 GB, free: 13.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002563/0.4568, allocations: 163.2 kB / 0.608 GB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4569, allocations: 4 kB / 0.608 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4569, allocations: 7.938 kB / 0.608 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.4571, allocations: 45.64 kB / 0.6081 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.4571, allocations: 23.92 kB / 0.6081 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.4589, allocations: 2.549 MB / 0.6106 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.4589, allocations: 7.906 kB / 0.6106 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4589, allocations: 8 kB / 0.6106 GB, free: 10.3 MB / 426.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 (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 9.633e-05/0.459, allocations: 129.7 kB / 0.6107 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.4591, allocations: 15.98 kB / 0.6107 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.4591, allocations: 11.91 kB / 0.6107 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4591, allocations: 4 kB / 0.6107 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4592, allocations: 0 / 0.6107 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4592, allocations: 0 / 0.6107 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.4594, allocations: 201.6 kB / 0.6109 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4594, allocations: 0 / 0.6109 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.4595, allocations: 12 kB / 0.611 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.622e-05/0.4596, allocations: 29.7 kB / 0.611 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4596, allocations: 12 kB / 0.611 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.4613, allocations: 2.536 MB / 0.6135 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4613, allocations: 4.25 kB / 0.6135 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4616, allocations: 308.3 kB / 0.6138 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.4616, allocations: 92.98 kB / 0.6139 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.4617, allocations: 0 / 0.6139 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.4618, allocations: 4 kB / 0.6139 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.4618, allocations: 7.984 kB / 0.6139 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4618, allocations: 8 kB / 0.6139 GB, free: 6.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.4619, allocations: 91.7 kB / 0.614 GB, free: 6.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4619, allocations: 0 / 0.614 GB, free: 6.473 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.4622, allocations: 35.91 kB / 0.614 GB, free: 6.438 MB / 426.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 () * 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 (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.0001296/0.4623, allocations: 107.7 kB / 0.6141 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.4627, allocations: 289.6 kB / 0.6144 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4627, allocations: 3.938 kB / 0.6144 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.463, allocations: 257.3 kB / 0.6146 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.4634, allocations: 23.69 kB / 0.6146 GB, free: 5.711 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/0.4642, allocations: 0.5709 MB / 0.6152 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4645, allocations: 0.7044 MB / 0.6159 GB, free: 4.379 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.4645, allocations: 12.88 kB / 0.6159 GB, free: 4.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.4646, allocations: 15.38 kB / 0.6159 GB, free: 4.348 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4646, allocations: 0 / 0.6159 GB, free: 4.348 MB / 426.7 MB Notification: Performance of Templates: time 0.003626/0.4682, allocations: 1.412 MB / 0.6173 GB, free: 2.945 MB / 426.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/jenkins1/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