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.001048/0.001048, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.18 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008717/0.0008718, allocations: 103.2 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 45.14 MB / 383.8 MB, free: 212 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.329e-05/1.33e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5387, allocations: 88.71 MB / 0.591 GB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.539, allocations: 67.72 kB / 0.5911 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02173/0.5608, allocations: 8.766 MB / 0.5996 GB, free: 6.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5608, allocations: 0 / 0.5996 GB, free: 6.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.5608, allocations: 19.98 kB / 0.5996 GB, free: 6.668 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008508/0.5617, allocations: 0.6263 MB / 0.6002 GB, free: 6.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5618, allocations: 12.02 kB / 0.6003 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.525e-05/0.5618, allocations: 59.34 kB / 0.6003 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.5622, allocations: 299.4 kB / 0.6006 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.5622, allocations: 12 kB / 0.6006 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.5623, allocations: 39.16 kB / 0.6006 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004184/0.5627, allocations: 268.7 kB / 0.6009 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.5633, allocations: 359.2 kB / 0.6012 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.5633, allocations: 15.23 kB / 0.6013 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.5633, allocations: 0 / 0.6013 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5633, allocations: 15.94 kB / 0.6013 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.5647, allocations: 1.073 MB / 0.6023 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.5652, allocations: 440.7 kB / 0.6027 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.5655, allocations: 181.2 kB / 0.6029 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.5655, allocations: 8.031 kB / 0.6029 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5656, allocations: 49.75 kB / 0.603 GB, free: 3.676 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.5656, allocations: 0 / 0.603 GB, free: 3.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.002208/0.5678, allocations: 1.823 MB / 0.6048 GB, free: 1.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5678, allocations: 81.67 kB / 0.6048 GB, free: 1.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.568, allocations: 198 kB / 0.605 GB, free: 1.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.568, allocations: 29.27 kB / 0.605 GB, free: 1.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.5681, allocations: 205.6 kB / 0.6052 GB, free: 1.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.5683, allocations: 259.2 kB / 0.6055 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.5683, allocations: 0 / 0.6055 GB, free: 1.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5685, allocations: 358.7 kB / 0.6058 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.5686, allocations: 129.9 kB / 0.606 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.5689, allocations: 241.8 kB / 0.6062 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.5693, allocations: 180.2 kB / 0.6064 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5693, allocations: 4 kB / 0.6064 GB, free: 0.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008117/0.5701, allocations: 496.3 kB / 0.6068 GB, free: 116 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5701, allocations: 8 kB / 0.6068 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5702, allocations: 4 kB / 0.6068 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.5702, allocations: 8.281 kB / 0.6069 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.5708, allocations: 178.5 kB / 0.607 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.5708, allocations: 11.95 kB / 0.607 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.571, allocations: 11.98 kB / 0.607 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.5711, allocations: 19.56 kB / 0.6071 GB, free: 15.89 MB / 410.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 () * 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.0001313/0.5712, allocations: 128.1 kB / 0.6072 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.5713, allocations: 43.58 kB / 0.6072 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.5714, allocations: 52.78 kB / 0.6073 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5715, allocations: 8 kB / 0.6073 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5715, allocations: 0 / 0.6073 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5715, allocations: 7.938 kB / 0.6073 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.5732, allocations: 1.306 MB / 0.6086 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5732, allocations: 4 kB / 0.6086 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.5738, allocations: 163 kB / 0.6087 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.5739, allocations: 7.938 kB / 0.6087 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.5739, allocations: 4 kB / 0.6087 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5739, allocations: 8.344 kB / 0.6087 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.5739, allocations: 11.95 kB / 0.6088 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.5748, allocations: 0.9744 MB / 0.6097 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.5749, allocations: 112.6 kB / 0.6098 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.575, allocations: 15.42 kB / 0.6098 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.5752, allocations: 4.062 kB / 0.6098 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.5753, allocations: 55.89 kB / 0.6099 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.5753, allocations: 22.75 kB / 0.6099 GB, free: 13.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5754, allocations: 146.2 kB / 0.6101 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5754, allocations: 4 kB / 0.6101 GB, free: 13.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004653/0.5759, allocations: 120 kB / 0.6102 GB, free: 12.93 MB / 410.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 () * 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.000145/0.5761, allocations: 114.2 kB / 0.6103 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.5766, allocations: 401.9 kB / 0.6107 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5766, allocations: 0 / 0.6107 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.5768, allocations: 216.7 kB / 0.6109 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.5775, allocations: 96.94 kB / 0.611 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.5796, allocations: 1.505 MB / 0.6124 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.5799, allocations: 0.8642 MB / 0.6133 GB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.5801, allocations: 60.58 kB / 0.6133 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.5802, allocations: 39.44 kB / 0.6134 GB, free: 9.816 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5802, allocations: 0 / 0.6134 GB, free: 9.816 MB / 410.7 MB Notification: Performance of Templates: time 0.008891/0.5891, allocations: 4.565 MB / 0.6178 GB, free: 5.316 MB / 410.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/jenkins/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