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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 100.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 199.3 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1964/0.1964, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004265/0.1234, allocations: 3.278 MB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.125, allocations: 0.8266 MB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.1253, allocations: 8 kB / 0.4925 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1256, allocations: 83.17 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.126, allocations: 174.5 kB / 0.4928 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.1263, allocations: 103.9 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000614/0.127, allocations: 0.6065 MB / 0.4935 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.1273, allocations: 173.3 kB / 0.4936 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.1276, allocations: 219.3 kB / 0.4939 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.1279, allocations: 242.9 kB / 0.4941 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.128, allocations: 44 kB / 0.4941 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.1281, allocations: 44 kB / 0.4942 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.1282, allocations: 99.67 kB / 0.4943 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.1284, allocations: 274.7 kB / 0.4945 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.1289, allocations: 0.5528 MB / 0.4951 GB, free: 5.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1289, allocations: 0 / 0.4951 GB, free: 5.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.129, allocations: 3.938 kB / 0.4951 GB, free: 5.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.129, allocations: 0 / 0.4951 GB, free: 5.09 MB / 382.1 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.001068/0.1301, allocations: 0.7635 MB / 0.4958 GB, free: 4.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1301, allocations: 11.89 kB / 0.4958 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.1302, allocations: 56.28 kB / 0.4959 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1306, allocations: 326.4 kB / 0.4962 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.1307, allocations: 37.38 kB / 0.4962 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.1308, allocations: 56.27 kB / 0.4963 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.1314, allocations: 434.9 kB / 0.4967 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.1315, allocations: 19.89 kB / 0.4967 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1315, allocations: 16 kB / 0.4967 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1315, allocations: 12 kB / 0.4967 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.132, allocations: 312.5 kB / 0.497 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.1337, allocations: 1.146 MB / 0.4982 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.1345, allocations: 489.1 kB / 0.4986 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.1348, allocations: 207 kB / 0.4988 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1349, allocations: 12.38 kB / 0.4988 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.135, allocations: 43.03 kB / 0.4989 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.384e-06/0.135, allocations: 0 / 0.4989 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002823/0.1378, allocations: 2.151 MB / 0.501 GB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1379, allocations: 85.67 kB / 0.5011 GB, free: 14.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1381, allocations: 251 kB / 0.5013 GB, free: 14.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1381, allocations: 37.7 kB / 0.5013 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1383, allocations: 213 kB / 0.5015 GB, free: 14.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.1384, allocations: 268 kB / 0.5018 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1386, allocations: 118.7 kB / 0.5019 GB, free: 13.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1387, allocations: 366.7 kB / 0.5023 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.139, allocations: 157.9 kB / 0.5024 GB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.1393, allocations: 268.9 kB / 0.5027 GB, free: 12.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.1399, allocations: 474.8 kB / 0.5031 GB, free: 12.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1399, allocations: 0 / 0.5031 GB, free: 12.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007387/0.1406, allocations: 0.5668 MB / 0.5037 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1406, allocations: 8 kB / 0.5037 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1407, allocations: 288 / 0.5037 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1407, allocations: 12 kB / 0.5037 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.1412, allocations: 179.7 kB / 0.5039 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1413, allocations: 8 kB / 0.5039 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1415, allocations: 23.98 kB / 0.5039 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1416, allocations: 28 kB / 0.5039 GB, free: 11.52 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.1418, allocations: 185.5 kB / 0.5041 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.1418, allocations: 47.44 kB / 0.5041 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.142, allocations: 59.69 kB / 0.5042 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.142, allocations: 7.969 kB / 0.5042 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.142, allocations: 0 / 0.5042 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.1421, allocations: 108.6 kB / 0.5043 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.1421, allocations: 19.94 kB / 0.5043 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.1424, allocations: 23.92 kB / 0.5044 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.1425, allocations: 36.52 kB / 0.5044 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00122/0.1437, allocations: 0.7088 MB / 0.5051 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001045/0.1447, allocations: 0.9352 MB / 0.506 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002669/0.145, allocations: 220.5 kB / 0.5062 GB, free: 9.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.1452, allocations: 174 kB / 0.5064 GB, free: 8.953 MB / 398.1 MB Notification: Performance of Backend: time 5.61e-07/0.1452, allocations: 0 / 0.5064 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.146, allocations: 389.9 kB / 0.5067 GB, free: 8.566 MB / 398.1 MB Notification: Performance of SimCode: time 0.002441/0.1485, allocations: 1.984 MB / 0.5087 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.01151/0.16, allocations: 6.318 MB / 0.5148 GB, free: 244 kB / 398.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches