Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 196.9 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.626/1.626, allocations: 226.5 MB / 245.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008271/0.0008271, allocations: 99.59 kB / 297.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3156/0.3156, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3434, allocations: 62.96 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4655, allocations: 89.31 MB / 0.6056 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4658, allocations: 75.94 kB / 0.6057 GB, free: 15.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02376/0.4896, allocations: 8.83 MB / 0.6143 GB, free: 7.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4896, allocations: 0 / 0.6143 GB, free: 7.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.4897, allocations: 12 kB / 0.6143 GB, free: 6.992 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001112/0.4908, allocations: 0.6704 MB / 0.615 GB, free: 6.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4908, allocations: 12.03 kB / 0.615 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.4909, allocations: 52.28 kB / 0.615 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.4913, allocations: 306.5 kB / 0.6153 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4914, allocations: 29.38 kB / 0.6154 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.4915, allocations: 64.28 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.4921, allocations: 427.4 kB / 0.6158 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.4922, allocations: 16.03 kB / 0.6159 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.4922, allocations: 19.94 kB / 0.6159 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4923, allocations: 12 kB / 0.6159 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.4927, allocations: 308.5 kB / 0.6162 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.4947, allocations: 1.169 MB / 0.6173 GB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.4954, allocations: 486.8 kB / 0.6178 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.4957, allocations: 206.9 kB / 0.618 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4958, allocations: 12.47 kB / 0.618 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4958, allocations: 50.98 kB / 0.618 GB, free: 2.973 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.4958, allocations: 0 / 0.618 GB, free: 2.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.003009/0.4988, allocations: 2.133 MB / 0.6201 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.4989, allocations: 85.67 kB / 0.6202 GB, free: 0.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4992, allocations: 251 kB / 0.6204 GB, free: 336 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.4992, allocations: 33.7 kB / 0.6205 GB, free: 296 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4993, allocations: 213 kB / 0.6207 GB, free: 80 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.4995, allocations: 268.2 kB / 0.6209 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.4996, allocations: 19.94 kB / 0.621 GB, free: 15.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4997, allocations: 358.7 kB / 0.6213 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.5, allocations: 157.9 kB / 0.6214 GB, free: 15.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.5004, allocations: 272.9 kB / 0.6217 GB, free: 14.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.501, allocations: 458.8 kB / 0.6221 GB, free: 14.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.501, allocations: 4 kB / 0.6221 GB, free: 14.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008024/0.5018, allocations: 0.56 MB / 0.6227 GB, free: 13.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5018, allocations: 10.97 kB / 0.6227 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5018, allocations: 4 kB / 0.6227 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5019, allocations: 4 kB / 0.6227 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.5024, allocations: 179.8 kB / 0.6229 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.5025, allocations: 11.94 kB / 0.6229 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.5027, allocations: 23.98 kB / 0.6229 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.5028, allocations: 24 kB / 0.6229 GB, free: 13.67 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0002205/0.503, allocations: 189.7 kB / 0.6231 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.5031, allocations: 39.53 kB / 0.6232 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.5032, allocations: 59.64 kB / 0.6232 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.5032, allocations: 8 kB / 0.6232 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5032, allocations: 0 / 0.6232 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5032, allocations: 7.922 kB / 0.6232 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5051, allocations: 1.455 MB / 0.6247 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5052, allocations: 4.344 kB / 0.6247 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.5058, allocations: 163.8 kB / 0.6248 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.5058, allocations: 8 kB / 0.6248 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.5058, allocations: 16 kB / 0.6248 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.5058, allocations: 7.938 kB / 0.6248 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5058, allocations: 7.938 kB / 0.6249 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.5069, allocations: 0.9037 MB / 0.6257 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/0.507, allocations: 116.5 kB / 0.6258 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.507, allocations: 27.98 kB / 0.6259 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.5073, allocations: 20 kB / 0.6259 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.5074, allocations: 44.38 kB / 0.6259 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.5074, allocations: 20 kB / 0.626 GB, free: 10.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.5076, allocations: 182 kB / 0.6261 GB, free: 10.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5076, allocations: 0 / 0.6261 GB, free: 10.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000517/0.5081, allocations: 152.1 kB / 0.6263 GB, free: 10.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.000203/0.5083, allocations: 123.5 kB / 0.6264 GB, free: 9.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.509, allocations: 452 kB / 0.6268 GB, free: 9.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.509, allocations: 4.062 kB / 0.6268 GB, free: 9.496 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.5093, allocations: 234.2 kB / 0.627 GB, free: 9.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008795/0.5102, allocations: 109.9 kB / 0.6272 GB, free: 9.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.5131, allocations: 2.028 MB / 0.6291 GB, free: 7.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.5136, allocations: 0.8566 MB / 0.63 GB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.5138, allocations: 52.66 kB / 0.63 GB, free: 6.133 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.5139, allocations: 43.44 kB / 0.6301 GB, free: 6.094 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5139, allocations: 0 / 0.6301 GB, free: 6.094 MB / 442.7 MB Notification: Performance of Templates: time 0.009716/0.5236, allocations: 4.871 MB / 0.6348 GB, free: 1.277 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches