Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009662/0.0009659, allocations: 112.6 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3053/0.3053, allocations: 45.22 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.312, allocations: 63.24 MB / 0.5192 GB, free: 43.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0998/0.4119, allocations: 88.34 MB / 0.6054 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4122, allocations: 65.12 kB / 0.6055 GB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.4309, allocations: 7.294 MB / 0.6126 GB, free: 9.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.431, allocations: 0 / 0.6126 GB, free: 9.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.431, allocations: 8 kB / 0.6126 GB, free: 9.949 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.000964/0.432, allocations: 0.6198 MB / 0.6132 GB, free: 9.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4321, allocations: 16.02 kB / 0.6133 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4322, allocations: 51.34 kB / 0.6133 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4324, allocations: 219.7 kB / 0.6135 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.4324, allocations: 37 kB / 0.6136 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.4325, allocations: 59.89 kB / 0.6136 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.4332, allocations: 450 kB / 0.614 GB, free: 8.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.4332, allocations: 7.906 kB / 0.614 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.4333, allocations: 20 kB / 0.6141 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4333, allocations: 19.94 kB / 0.6141 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.4337, allocations: 257.2 kB / 0.6143 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.436, allocations: 1.699 MB / 0.616 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.4365, allocations: 419.9 kB / 0.6164 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.4366, allocations: 8 kB / 0.6164 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.4366, allocations: 62.44 kB / 0.6165 GB, free: 5.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 2.245e-06/0.4366, allocations: 0 / 0.6165 GB, free: 5.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006992/0.4373, allocations: 350.2 kB / 0.6168 GB, free: 5.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.4375, allocations: 273.5 kB / 0.6171 GB, free: 5.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4377, allocations: 217.8 kB / 0.6173 GB, free: 4.855 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4377, allocations: 33.64 kB / 0.6173 GB, free: 4.816 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.4379, allocations: 243.6 kB / 0.6175 GB, free: 4.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.438, allocations: 177.5 kB / 0.6177 GB, free: 4.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.438, allocations: 16 kB / 0.6177 GB, free: 4.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4381, allocations: 350.8 kB / 0.618 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4383, allocations: 114 kB / 0.6182 GB, free: 3.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.4387, allocations: 409.6 kB / 0.6185 GB, free: 3.383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.439, allocations: 183.9 kB / 0.6187 GB, free: 3.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.439, allocations: 8 kB / 0.6187 GB, free: 3.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007788/0.4398, allocations: 0.5551 MB / 0.6193 GB, free: 2.633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4398, allocations: 12.97 kB / 0.6193 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4398, allocations: 11.95 kB / 0.6193 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.4398, allocations: 20 kB / 0.6193 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.4403, allocations: 176.3 kB / 0.6195 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.4404, allocations: 19.94 kB / 0.6195 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.4406, allocations: 67.28 kB / 0.6196 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.4407, allocations: 32 kB / 0.6196 GB, free: 2.301 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.0001815/0.4409, allocations: 193.5 kB / 0.6198 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.4411, allocations: 39.61 kB / 0.6198 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.4411, allocations: 41.7 kB / 0.6199 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.4412, allocations: 15.95 kB / 0.6199 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.4412, allocations: 4 kB / 0.6199 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4412, allocations: 4 kB / 0.6199 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.4421, allocations: 417.1 kB / 0.6203 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4422, allocations: 4 kB / 0.6203 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.4427, allocations: 123.9 kB / 0.6204 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.4427, allocations: 4 kB / 0.6204 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.4428, allocations: 15.98 kB / 0.6204 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4428, allocations: 4 kB / 0.6204 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4428, allocations: 7.953 kB / 0.6204 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.4437, allocations: 1.167 MB / 0.6216 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.4438, allocations: 116.6 kB / 0.6217 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4439, allocations: 20.06 kB / 0.6217 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4443, allocations: 12 kB / 0.6217 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.4443, allocations: 27.91 kB / 0.6217 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4443, allocations: 19.94 kB / 0.6218 GB, free: 15.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.4445, allocations: 170 kB / 0.6219 GB, free: 15.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4445, allocations: 0 / 0.6219 GB, free: 15.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007591/0.4453, allocations: 139.7 kB / 0.6221 GB, free: 15.62 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.0001644/0.4454, allocations: 115.8 kB / 0.6222 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.446, allocations: 345.5 kB / 0.6225 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.446, allocations: 0 / 0.6225 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.4461, allocations: 127.8 kB / 0.6226 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.4469, allocations: 75 kB / 0.6227 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.4498, allocations: 2.438 MB / 0.6251 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.4502, allocations: 0.8433 MB / 0.6259 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.4504, allocations: 52.16 kB / 0.6259 GB, free: 11.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.4505, allocations: 35.38 kB / 0.626 GB, free: 11.53 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4505, allocations: 0 / 0.626 GB, free: 11.53 MB / 442.7 MB Notification: Performance of Templates: time 0.007171/0.4576, allocations: 3.727 MB / 0.6296 GB, free: 7.855 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches