Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007587/0.0007587, allocations: 92.02 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3141/0.3141, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 12 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4871, allocations: 87.3 MB / 0.5652 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4873, allocations: 71.95 kB / 0.5653 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02243/0.5098, allocations: 8.606 MB / 0.5737 GB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5098, allocations: 3.938 kB / 0.5737 GB, free: 5.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.5098, allocations: 8 kB / 0.5737 GB, free: 5.883 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.0009222/0.5108, allocations: 0.6702 MB / 0.5743 GB, free: 5.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5108, allocations: 8.031 kB / 0.5744 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.5109, allocations: 56.28 kB / 0.5744 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.5112, allocations: 302.5 kB / 0.5747 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.5113, allocations: 33.38 kB / 0.5747 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.5114, allocations: 60.28 kB / 0.5748 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.512, allocations: 431.2 kB / 0.5752 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.5121, allocations: 8.031 kB / 0.5752 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.5121, allocations: 24.48 kB / 0.5752 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5121, allocations: 12 kB / 0.5752 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.5126, allocations: 312.5 kB / 0.5755 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.5142, allocations: 1.169 MB / 0.5767 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.5148, allocations: 485.8 kB / 0.5771 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.5152, allocations: 211 kB / 0.5773 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.5152, allocations: 8.469 kB / 0.5773 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.5152, allocations: 43 kB / 0.5774 GB, free: 1.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/0.5152, allocations: 0 / 0.5774 GB, free: 1.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.003003/0.5183, allocations: 2.129 MB / 0.5795 GB, free: 15.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.5183, allocations: 85.67 kB / 0.5796 GB, free: 15.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.5186, allocations: 247 kB / 0.5798 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.5187, allocations: 37.7 kB / 0.5798 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.5188, allocations: 217 kB / 0.58 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.5191, allocations: 264 kB / 0.5803 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.5191, allocations: 19.94 kB / 0.5803 GB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5193, allocations: 362.7 kB / 0.5806 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.5196, allocations: 157.9 kB / 0.5808 GB, free: 14.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.5199, allocations: 280.8 kB / 0.5811 GB, free: 13.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.5206, allocations: 458.8 kB / 0.5815 GB, free: 13.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5206, allocations: 0 / 0.5815 GB, free: 13.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007906/0.5214, allocations: 0.5593 MB / 0.582 GB, free: 12.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5214, allocations: 4 kB / 0.5821 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5214, allocations: 4 kB / 0.5821 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5214, allocations: 8 kB / 0.5821 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.522, allocations: 179.8 kB / 0.5822 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.522, allocations: 11.88 kB / 0.5822 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.5223, allocations: 24 kB / 0.5823 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.5223, allocations: 24 kB / 0.5823 GB, free: 12.58 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 () * 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.0002111/0.5225, allocations: 185.7 kB / 0.5825 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.5226, allocations: 47.44 kB / 0.5825 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.5227, allocations: 59.64 kB / 0.5826 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5228, allocations: 8 kB / 0.5826 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5228, allocations: 0 / 0.5826 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5228, allocations: 3.984 kB / 0.5826 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.5246, allocations: 1.443 MB / 0.584 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5246, allocations: 4.344 kB / 0.584 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.5252, allocations: 163.8 kB / 0.5842 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.5252, allocations: 4 kB / 0.5842 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.5253, allocations: 19.94 kB / 0.5842 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.5253, allocations: 11.94 kB / 0.5842 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5253, allocations: 4 kB / 0.5842 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.5263, allocations: 0.9077 MB / 0.5851 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.5264, allocations: 128.5 kB / 0.5852 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.5265, allocations: 23.92 kB / 0.5852 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.5267, allocations: 16 kB / 0.5852 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.5268, allocations: 44.38 kB / 0.5853 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.5269, allocations: 24 kB / 0.5853 GB, free: 9.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.527, allocations: 178 kB / 0.5855 GB, free: 9.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.527, allocations: 0 / 0.5855 GB, free: 9.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.5275, allocations: 151.9 kB / 0.5856 GB, free: 8.988 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 () * 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.0001569/0.5277, allocations: 119.1 kB / 0.5857 GB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.5284, allocations: 448.1 kB / 0.5862 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5284, allocations: 4.062 kB / 0.5862 GB, free: 8.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.5287, allocations: 234.2 kB / 0.5864 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.5296, allocations: 111.7 kB / 0.5865 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.5324, allocations: 2.04 MB / 0.5885 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.5329, allocations: 0.8566 MB / 0.5893 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.5331, allocations: 52.66 kB / 0.5894 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.5332, allocations: 43.44 kB / 0.5894 GB, free: 5.023 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5332, allocations: 0 / 0.5894 GB, free: 5.023 MB / 410.7 MB Notification: Performance of Templates: time 0.009537/0.5428, allocations: 4.879 MB / 0.5942 GB, free: 200 kB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches