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.001485/0.001485, allocations: 191.7 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 244.1 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007864/0.0007867, allocations: 98.88 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 62.96 MB / 0.5165 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3844, allocations: 88.2 MB / 0.6026 GB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.3846, allocations: 63.95 kB / 0.6027 GB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.4026, allocations: 7.288 MB / 0.6098 GB, free: 9.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4026, allocations: 0 / 0.6098 GB, free: 9.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4026, allocations: 8 kB / 0.6098 GB, free: 9.824 MB / 426.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.0008526/0.4035, allocations: 0.6199 MB / 0.6104 GB, free: 9.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4035, allocations: 12.03 kB / 0.6104 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.4036, allocations: 56.28 kB / 0.6105 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.4038, allocations: 223.7 kB / 0.6107 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4039, allocations: 33.38 kB / 0.6107 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.4039, allocations: 56.27 kB / 0.6108 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.4046, allocations: 458.6 kB / 0.6112 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.4047, allocations: 12.09 kB / 0.6112 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.4047, allocations: 19.94 kB / 0.6112 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4047, allocations: 12 kB / 0.6112 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.4051, allocations: 256 kB / 0.6115 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.4073, allocations: 1.711 MB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.4078, allocations: 416.3 kB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.408, allocations: 163.6 kB / 0.6137 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.408, allocations: 4 kB / 0.6137 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4081, allocations: 50.48 kB / 0.6138 GB, free: 5.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/0.4081, allocations: 4 kB / 0.6138 GB, free: 5.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007004/0.4088, allocations: 349.2 kB / 0.6141 GB, free: 5.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.4089, allocations: 268.9 kB / 0.6144 GB, free: 4.754 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.4092, allocations: 254.6 kB / 0.6146 GB, free: 4.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4092, allocations: 30.2 kB / 0.6146 GB, free: 4.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.4094, allocations: 251.6 kB / 0.6149 GB, free: 4.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4095, allocations: 181.4 kB / 0.615 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.4095, allocations: 12 kB / 0.6151 GB, free: 4.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4097, allocations: 346.8 kB / 0.6154 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4099, allocations: 121.9 kB / 0.6155 GB, free: 3.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.4102, allocations: 409.6 kB / 0.6159 GB, free: 3.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.4109, allocations: 0.5693 MB / 0.6164 GB, free: 2.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4109, allocations: 4 kB / 0.6164 GB, free: 2.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007857/0.4117, allocations: 0.5603 MB / 0.617 GB, free: 1.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.4117, allocations: 8 kB / 0.617 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4118, allocations: 16.16 kB / 0.617 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.4118, allocations: 15.98 kB / 0.617 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.4123, allocations: 179.7 kB / 0.6172 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.258e-05/0.4124, allocations: 23.92 kB / 0.6172 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.4126, allocations: 63.38 kB / 0.6173 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4127, allocations: 36 kB / 0.6173 GB, free: 1.41 MB / 426.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.0002041/0.4129, allocations: 181.5 kB / 0.6175 GB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4131, allocations: 39.61 kB / 0.6175 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.4132, allocations: 45.7 kB / 0.6176 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/0.4132, allocations: 7.938 kB / 0.6176 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4132, allocations: 4 kB / 0.6176 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4132, allocations: 7.938 kB / 0.6176 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.4142, allocations: 413.1 kB / 0.618 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4142, allocations: 4 kB / 0.618 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.4148, allocations: 127.8 kB / 0.6181 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4148, allocations: 4 kB / 0.6181 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.4148, allocations: 12 kB / 0.6181 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.4148, allocations: 11.92 kB / 0.6181 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4148, allocations: 8 kB / 0.6182 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.4156, allocations: 1.084 MB / 0.6192 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.4157, allocations: 112.6 kB / 0.6193 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.4158, allocations: 12 kB / 0.6193 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.4162, allocations: 11.94 kB / 0.6193 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.4162, allocations: 35.89 kB / 0.6194 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4163, allocations: 12 kB / 0.6194 GB, free: 15.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.4164, allocations: 174 kB / 0.6196 GB, free: 15.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4164, allocations: 0 / 0.6196 GB, free: 15.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008001/0.4172, allocations: 135.7 kB / 0.6197 GB, free: 14.89 MB / 442.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.0001669/0.4174, allocations: 119.5 kB / 0.6198 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.418, allocations: 340.1 kB / 0.6201 GB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.418, allocations: 4 kB / 0.6201 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.4181, allocations: 126.2 kB / 0.6202 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.4193, allocations: 92.19 kB / 0.6203 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.4224, allocations: 2.468 MB / 0.6227 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.4228, allocations: 0.8278 MB / 0.6236 GB, free: 10.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.423, allocations: 39.38 kB / 0.6236 GB, free: 10.79 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.423, allocations: 0 / 0.6236 GB, free: 10.79 MB / 442.7 MB Notification: Performance of Templates: time 0.007492/0.4305, allocations: 4.971 MB / 0.6284 GB, free: 5.84 MB / 442.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/jenkins1/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