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.001048/0.001048, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008812/0.0008814, allocations: 91.84 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.824e-05, allocations: 8 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5293, allocations: 87.61 MB / 0.5899 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.5296, allocations: 67.38 kB / 0.59 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.5475, allocations: 7.236 MB / 0.597 GB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5476, allocations: 0 / 0.597 GB, free: 9.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.5476, allocations: 12 kB / 0.5971 GB, free: 9.074 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008772/0.5485, allocations: 0.5949 MB / 0.5976 GB, free: 8.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5485, allocations: 8.031 kB / 0.5976 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.5486, allocations: 55.42 kB / 0.5977 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.5489, allocations: 218.8 kB / 0.5979 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.5489, allocations: 19.94 kB / 0.5979 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.549, allocations: 35.72 kB / 0.598 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004088/0.5494, allocations: 212.3 kB / 0.5982 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.5501, allocations: 382.2 kB / 0.5985 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.5501, allocations: 11.89 kB / 0.5985 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.5501, allocations: 0 / 0.5985 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.5502, allocations: 18.58 kB / 0.5986 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.5522, allocations: 1.615 MB / 0.6001 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.5526, allocations: 376.7 kB / 0.6005 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.5528, allocations: 135.7 kB / 0.6006 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.5528, allocations: 7.938 kB / 0.6006 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.5529, allocations: 49.92 kB / 0.6007 GB, free: 5.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.614e-06/0.5529, allocations: 0 / 0.6007 GB, free: 5.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005278/0.5534, allocations: 241.1 kB / 0.6009 GB, free: 5.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.5536, allocations: 268.5 kB / 0.6012 GB, free: 5.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.5537, allocations: 195.5 kB / 0.6013 GB, free: 4.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.5538, allocations: 29.83 kB / 0.6014 GB, free: 4.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.5539, allocations: 244.5 kB / 0.6016 GB, free: 4.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.5541, allocations: 188.8 kB / 0.6018 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5541, allocations: 0 / 0.6018 GB, free: 4.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5542, allocations: 344.1 kB / 0.6021 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.5544, allocations: 96.31 kB / 0.6022 GB, free: 4.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.5548, allocations: 393.1 kB / 0.6026 GB, free: 3.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.555, allocations: 171.8 kB / 0.6027 GB, free: 3.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.555, allocations: 0 / 0.6027 GB, free: 3.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006938/0.5557, allocations: 484.6 kB / 0.6032 GB, free: 3.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5558, allocations: 12 kB / 0.6032 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5558, allocations: 11.94 kB / 0.6032 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.5558, allocations: 16.81 kB / 0.6032 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.5564, allocations: 179.4 kB / 0.6034 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.5564, allocations: 27.86 kB / 0.6034 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.5566, allocations: 51.91 kB / 0.6035 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.5567, allocations: 37.67 kB / 0.6035 GB, free: 2.766 MB / 394.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 () * 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.0001173/0.5568, allocations: 124.1 kB / 0.6036 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.557, allocations: 39.58 kB / 0.6037 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.5571, allocations: 36.14 kB / 0.6037 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.5571, allocations: 8 kB / 0.6037 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.5571, allocations: 8 kB / 0.6037 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5571, allocations: 3.984 kB / 0.6037 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.5579, allocations: 348 kB / 0.6041 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5579, allocations: 4 kB / 0.6041 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.5585, allocations: 123.5 kB / 0.6042 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5585, allocations: 4 kB / 0.6042 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.5585, allocations: 15.7 kB / 0.6042 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5585, allocations: 7.984 kB / 0.6042 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5585, allocations: 0 / 0.6042 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.5594, allocations: 1.129 MB / 0.6053 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.5595, allocations: 112.7 kB / 0.6054 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.5595, allocations: 7.688 kB / 0.6054 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.5599, allocations: 8 kB / 0.6054 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.5599, allocations: 27.72 kB / 0.6055 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.5599, allocations: 19.92 kB / 0.6055 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.56, allocations: 154.8 kB / 0.6056 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5601, allocations: 0 / 0.6056 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007121/0.5608, allocations: 127.6 kB / 0.6058 GB, free: 0.5391 MB / 394.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 () * 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.000126/0.5609, allocations: 103.2 kB / 0.6059 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.5613, allocations: 300.3 kB / 0.6061 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5613, allocations: 0 / 0.6061 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.5615, allocations: 115.1 kB / 0.6063 GB, free: 120 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.5622, allocations: 72.08 kB / 0.6063 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.5649, allocations: 1.966 MB / 0.6082 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.5654, allocations: 0.8381 MB / 0.6091 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.5656, allocations: 51.44 kB / 0.6091 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.5657, allocations: 31.44 kB / 0.6091 GB, free: 13.15 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5657, allocations: 0 / 0.6091 GB, free: 13.15 MB / 410.7 MB Notification: Performance of Templates: time 0.007056/0.5727, allocations: 3.556 MB / 0.6126 GB, free: 9.637 MB / 410.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