Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009007/0.0009009, allocations: 97.19 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.369e-05, allocations: 4 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5485, allocations: 88.38 MB / 0.5907 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5488, allocations: 72.08 kB / 0.5907 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.5657, allocations: 6.437 MB / 0.597 GB, free: 8.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5657, allocations: 0 / 0.597 GB, free: 8.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.5658, allocations: 8.75 kB / 0.597 GB, free: 8.891 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008092/0.5666, allocations: 0.5765 MB / 0.5976 GB, free: 8.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5666, allocations: 12.03 kB / 0.5976 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.567, allocations: 82.47 kB / 0.5977 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.5673, allocations: 275.2 kB / 0.5979 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.5673, allocations: 14.73 kB / 0.598 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.5674, allocations: 27.91 kB / 0.598 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003454/0.5678, allocations: 185.2 kB / 0.5982 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.5682, allocations: 310 kB / 0.5985 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5683, allocations: 10.42 kB / 0.5985 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.5683, allocations: 11.94 kB / 0.5985 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.5683, allocations: 12 kB / 0.5985 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5696, allocations: 1.006 MB / 0.5995 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.5699, allocations: 304.9 kB / 0.5998 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.5701, allocations: 149.8 kB / 0.5999 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.5702, allocations: 12.67 kB / 0.5999 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5702, allocations: 34.19 kB / 0.6 GB, free: 6.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.5702, allocations: 4 kB / 0.6 GB, free: 6.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.002873/0.5731, allocations: 2.121 MB / 0.602 GB, free: 4.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.5732, allocations: 114.8 kB / 0.6021 GB, free: 3.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5733, allocations: 167.4 kB / 0.6023 GB, free: 3.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5733, allocations: 25.7 kB / 0.6023 GB, free: 3.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5735, allocations: 188.3 kB / 0.6025 GB, free: 3.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.5736, allocations: 196.7 kB / 0.6027 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.5736, allocations: 0 / 0.6027 GB, free: 3.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5738, allocations: 345.3 kB / 0.603 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5739, allocations: 101.2 kB / 0.6031 GB, free: 3.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5741, allocations: 203.2 kB / 0.6033 GB, free: 2.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.5743, allocations: 135.2 kB / 0.6034 GB, free: 2.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5743, allocations: 0 / 0.6034 GB, free: 2.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007188/0.5751, allocations: 473.2 kB / 0.6039 GB, free: 2.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5751, allocations: 11.95 kB / 0.6039 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5751, allocations: 4 kB / 0.6039 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.5754, allocations: 117.9 kB / 0.604 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.5758, allocations: 99.42 kB / 0.6041 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.5793, allocations: 4.484 MB / 0.6085 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5795, allocations: 16.05 kB / 0.6085 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.5795, allocations: 19.36 kB / 0.6085 GB, free: 13.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.5796, allocations: 108.9 kB / 0.6086 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.5797, allocations: 31.62 kB / 0.6087 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.5798, allocations: 37.2 kB / 0.6087 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5798, allocations: 11.94 kB / 0.6087 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5798, allocations: 4 kB / 0.6087 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5798, allocations: 11.94 kB / 0.6087 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5815, allocations: 1.175 MB / 0.6099 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5815, allocations: 4 kB / 0.6099 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.5819, allocations: 102.7 kB / 0.61 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.5821, allocations: 97.83 kB / 0.6101 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.5822, allocations: 5.125 kB / 0.6101 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.5849, allocations: 3.925 MB / 0.6139 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5849, allocations: 4 kB / 0.6139 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009439/0.5859, allocations: 0.8949 MB / 0.6148 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.5859, allocations: 104.7 kB / 0.6149 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.586, allocations: 3.984 kB / 0.6149 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.5862, allocations: 12 kB / 0.6149 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.5863, allocations: 49.45 kB / 0.6149 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.5863, allocations: 15.19 kB / 0.615 GB, free: 7.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.413e-05/0.5864, allocations: 131.1 kB / 0.6151 GB, free: 7.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5864, allocations: 0 / 0.6151 GB, free: 7.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006332/0.5871, allocations: 96 kB / 0.6152 GB, free: 7.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.5873, allocations: 107.1 kB / 0.6153 GB, free: 6.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.5882, allocations: 0.6744 MB / 0.6159 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5882, allocations: 4.188 kB / 0.6159 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.5888, allocations: 0.5257 MB / 0.6164 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.5892, allocations: 30.72 kB / 0.6165 GB, free: 5.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.5905, allocations: 0.893 MB / 0.6173 GB, free: 4.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5908, allocations: 0.8242 MB / 0.6182 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.591, allocations: 35.27 kB / 0.6182 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.5911, allocations: 31.42 kB / 0.6182 GB, free: 4.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5911, allocations: 0 / 0.6182 GB, free: 4.07 MB / 410.7 MB Notification: Performance of Templates: time 0.007195/0.5983, allocations: 3.669 MB / 0.6218 GB, free: 436 kB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches