Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009039, allocations: 90.84 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.344e-05/1.347e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.6018, allocations: 87.64 MB / 0.5803 GB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.6021, allocations: 67.95 kB / 0.5803 GB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02266/0.6247, allocations: 8.711 MB / 0.5888 GB, free: 84 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6248, allocations: 3.938 kB / 0.5888 GB, free: 80 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.6248, allocations: 8 kB / 0.5888 GB, free: 72 kB / 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.001028/0.6259, allocations: 0.6324 MB / 0.5895 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.6259, allocations: 11.98 kB / 0.5895 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.626, allocations: 55.34 kB / 0.5895 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.6264, allocations: 301.3 kB / 0.5898 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.6265, allocations: 16 kB / 0.5898 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.6266, allocations: 35.91 kB / 0.5899 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004948/0.6271, allocations: 274.5 kB / 0.5901 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.6277, allocations: 351.7 kB / 0.5905 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.6277, allocations: 11.84 kB / 0.5905 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.6278, allocations: 0 / 0.5905 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.6278, allocations: 14.95 kB / 0.5905 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.6294, allocations: 1.073 MB / 0.5915 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.63, allocations: 452 kB / 0.592 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.6303, allocations: 187 kB / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.6303, allocations: 4.438 kB / 0.5921 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6304, allocations: 42.95 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.643e-06/0.6304, allocations: 0 / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002494/0.6329, allocations: 1.818 MB / 0.594 GB, free: 10.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.6329, allocations: 89.67 kB / 0.594 GB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.6331, allocations: 198.1 kB / 0.5942 GB, free: 10.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.6332, allocations: 25.92 kB / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6333, allocations: 208.9 kB / 0.5945 GB, free: 9.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.6335, allocations: 263.9 kB / 0.5947 GB, free: 9.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.6335, allocations: 0 / 0.5947 GB, free: 9.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6336, allocations: 362.7 kB / 0.5951 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.6339, allocations: 129.6 kB / 0.5952 GB, free: 9.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.6342, allocations: 245.3 kB / 0.5954 GB, free: 8.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.6344, allocations: 181.3 kB / 0.5956 GB, free: 8.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6344, allocations: 0 / 0.5956 GB, free: 8.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006605/0.6351, allocations: 495.6 kB / 0.5961 GB, free: 8.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6351, allocations: 4 kB / 0.5961 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6352, allocations: 7.938 kB / 0.5961 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6352, allocations: 4.281 kB / 0.5961 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.6358, allocations: 179.8 kB / 0.5962 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.6358, allocations: 7.938 kB / 0.5963 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.636, allocations: 15.92 kB / 0.5963 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.636, allocations: 28 kB / 0.5963 GB, free: 7.98 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.0001105/0.6362, allocations: 112.8 kB / 0.5964 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.6363, allocations: 43.53 kB / 0.5964 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.6364, allocations: 47.92 kB / 0.5965 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6364, allocations: 11.94 kB / 0.5965 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6364, allocations: 0 / 0.5965 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6364, allocations: 7.984 kB / 0.5965 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.6381, allocations: 1.318 MB / 0.5978 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6382, allocations: 12 kB / 0.5978 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.6388, allocations: 155.8 kB / 0.598 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.6388, allocations: 7.984 kB / 0.598 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.6388, allocations: 8 kB / 0.598 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6389, allocations: 4.344 kB / 0.598 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6389, allocations: 11.94 kB / 0.598 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.64, allocations: 0.9738 MB / 0.5989 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6401, allocations: 120.5 kB / 0.5991 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.6401, allocations: 7.984 kB / 0.5991 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.6404, allocations: 8 kB / 0.5991 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.6405, allocations: 48.33 kB / 0.5991 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.6405, allocations: 24 kB / 0.5991 GB, free: 4.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.6406, allocations: 150 kB / 0.5993 GB, free: 4.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6406, allocations: 0 / 0.5993 GB, free: 4.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.6411, allocations: 116 kB / 0.5994 GB, free: 4.562 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.0001733/0.6413, allocations: 119 kB / 0.5995 GB, free: 4.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.6419, allocations: 398.9 kB / 0.5999 GB, free: 4.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6419, allocations: 4 kB / 0.5999 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.6422, allocations: 210.4 kB / 0.6001 GB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.6429, allocations: 86.72 kB / 0.6002 GB, free: 3.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.6453, allocations: 1.519 MB / 0.6017 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.6459, allocations: 0.8566 MB / 0.6025 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.6461, allocations: 60.58 kB / 0.6025 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.6462, allocations: 39.44 kB / 0.6026 GB, free: 1.191 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6462, allocations: 0 / 0.6026 GB, free: 1.191 MB / 410.7 MB Notification: Performance of Templates: time 0.008956/0.6552, allocations: 4.568 MB / 0.607 GB, free: 12.68 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches