Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000744/0.0007442, allocations: 101.9 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1761/0.1761, allocations: 44.84 MB / 392 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002332, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09216, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002574/0.09477, allocations: 2.607 MB / 0.5179 GB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.176/0.2708, allocations: 412.7 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.271, allocations: 7.625 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.2711, allocations: 46.41 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.2714, allocations: 140.8 kB / 0.5185 GB, free: 9.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.2716, allocations: 74.72 kB / 0.5185 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.272, allocations: 0.5058 MB / 0.519 GB, free: 9.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.2722, allocations: 122.5 kB / 0.5191 GB, free: 9.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2724, allocations: 171.4 kB / 0.5193 GB, free: 9.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2726, allocations: 189.1 kB / 0.5195 GB, free: 9.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.2727, allocations: 28.25 kB / 0.5195 GB, free: 9.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.2728, allocations: 24.81 kB / 0.5195 GB, free: 9.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.2728, allocations: 79.7 kB / 0.5196 GB, free: 9.504 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.2729, allocations: 116.8 kB / 0.5197 GB, free: 9.457 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.2733, allocations: 382.7 kB / 0.5201 GB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2733, allocations: 1.031 kB / 0.5201 GB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2733, allocations: 0 / 0.5201 GB, free: 9.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2733, allocations: 0 / 0.5201 GB, free: 9.422 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007111/0.274, allocations: 0.6447 MB / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2741, allocations: 9.312 kB / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.2742, allocations: 50.72 kB / 0.5208 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.2744, allocations: 289.3 kB / 0.521 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2744, allocations: 34.97 kB / 0.5211 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.2745, allocations: 56.64 kB / 0.5211 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.2751, allocations: 452.5 kB / 0.5216 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.2752, allocations: 15.56 kB / 0.5216 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.2752, allocations: 19.34 kB / 0.5216 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.2752, allocations: 16.92 kB / 0.5216 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.2756, allocations: 257.2 kB / 0.5219 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2774, allocations: 1.696 MB / 0.5235 GB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.2778, allocations: 415.9 kB / 0.5239 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.278, allocations: 150 kB / 0.5241 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2781, allocations: 16.44 kB / 0.5241 GB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2781, allocations: 46.12 kB / 0.5241 GB, free: 7.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.552e-06/0.2781, allocations: 3.938 kB / 0.5241 GB, free: 7.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006787/0.2788, allocations: 359.3 kB / 0.5245 GB, free: 7.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2788, allocations: 273.7 kB / 0.5247 GB, free: 6.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.279, allocations: 250.6 kB / 0.525 GB, free: 6.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2791, allocations: 35.77 kB / 0.525 GB, free: 6.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2792, allocations: 244 kB / 0.5252 GB, free: 6.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.2793, allocations: 173.9 kB / 0.5254 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.2793, allocations: 15.69 kB / 0.5254 GB, free: 6.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.2794, allocations: 348 kB / 0.5257 GB, free: 5.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2796, allocations: 117.1 kB / 0.5259 GB, free: 5.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.2799, allocations: 421 kB / 0.5263 GB, free: 5.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.2801, allocations: 181.3 kB / 0.5264 GB, free: 5.316 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2801, allocations: 3.875 kB / 0.5264 GB, free: 5.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007103/0.2808, allocations: 0.5561 MB / 0.527 GB, free: 5.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2809, allocations: 17.47 kB / 0.527 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.2809, allocations: 11.25 kB / 0.527 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.2809, allocations: 17.72 kB / 0.527 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.2814, allocations: 175.8 kB / 0.5272 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.2815, allocations: 21.58 kB / 0.5272 GB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2817, allocations: 62.78 kB / 0.5273 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.2817, allocations: 31.75 kB / 0.5273 GB, free: 5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.2819, allocations: 187 kB / 0.5275 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.2821, allocations: 40.33 kB / 0.5275 GB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.2821, allocations: 45.78 kB / 0.5276 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2821, allocations: 6.469 kB / 0.5276 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2822, allocations: 3.375 kB / 0.5276 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2822, allocations: 4.703 kB / 0.5276 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008411/0.283, allocations: 413.9 kB / 0.528 GB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.283, allocations: 1.75 kB / 0.528 GB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.2836, allocations: 128 kB / 0.5281 GB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2836, allocations: 4.156 kB / 0.5281 GB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2836, allocations: 15.67 kB / 0.5281 GB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.2836, allocations: 12.06 kB / 0.5281 GB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2837, allocations: 3.359 kB / 0.5281 GB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.2843, allocations: 1.088 MB / 0.5292 GB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.2843, allocations: 113.9 kB / 0.5293 GB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.2844, allocations: 13.22 kB / 0.5293 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.2847, allocations: 9.328 kB / 0.5293 GB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.2848, allocations: 36.16 kB / 0.5293 GB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.2848, allocations: 15.44 kB / 0.5294 GB, free: 3.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.2849, allocations: 171.4 kB / 0.5295 GB, free: 3.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.285, allocations: 1.188 kB / 0.5295 GB, free: 3.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000697/0.2857, allocations: 135.6 kB / 0.5297 GB, free: 3.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.2858, allocations: 112.9 kB / 0.5298 GB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.2862, allocations: 336.2 kB / 0.5301 GB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2862, allocations: 1.281 kB / 0.5301 GB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2864, allocations: 128.1 kB / 0.5302 GB, free: 3.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.2874, allocations: 86.17 kB / 0.5303 GB, free: 3.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2898, allocations: 2.466 MB / 0.5327 GB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2901, allocations: 0.834 MB / 0.5335 GB, free: 492 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.2902, allocations: 35.16 kB / 0.5335 GB, free: 484 kB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.2902, allocations: 0 / 0.5335 GB, free: 484 kB / 346.7 MB Notification: Performance of Templates: time 0.007285/0.2975, allocations: 4.937 MB / 0.5384 GB, free: 15.57 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches