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.001417/0.001418, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001524/0.001524, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.625/1.625, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2269/0.2269, allocations: 43.52 MB / 314.1 MB, free: 456 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.001412/0.001412, allocations: 59.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1298, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004054/0.1339, allocations: 3.278 MB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1353, allocations: 0.8421 MB / 0.4919 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.1356, allocations: 11.94 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1358, allocations: 71.25 kB / 0.492 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1361, allocations: 170.5 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1364, allocations: 107.9 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.1369, allocations: 0.6026 MB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1372, allocations: 173.3 kB / 0.493 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.1374, allocations: 215.3 kB / 0.4932 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.1377, allocations: 242.9 kB / 0.4934 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.1378, allocations: 43.94 kB / 0.4935 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.1379, allocations: 44 kB / 0.4935 GB, free: 6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.138, allocations: 103.7 kB / 0.4936 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.1382, allocations: 266.7 kB / 0.4939 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.1387, allocations: 0.5602 MB / 0.4944 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1388, allocations: 0 / 0.4944 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1388, allocations: 4 kB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1388, allocations: 3.938 kB / 0.4944 GB, free: 5.066 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.001037/0.1398, allocations: 0.7669 MB / 0.4952 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1399, allocations: 19.83 kB / 0.4952 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.963e-05/0.14, allocations: 60.56 kB / 0.4952 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1404, allocations: 314.7 kB / 0.4955 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.1404, allocations: 41.31 kB / 0.4956 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.1405, allocations: 56.31 kB / 0.4956 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.1411, allocations: 434.9 kB / 0.4961 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.1412, allocations: 15.94 kB / 0.4961 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.1412, allocations: 20 kB / 0.4961 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1413, allocations: 12 kB / 0.4961 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.1418, allocations: 312.5 kB / 0.4964 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1433, allocations: 1.138 MB / 0.4975 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.144, allocations: 0.4892 MB / 0.498 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.1443, allocations: 207 kB / 0.4982 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1443, allocations: 4.438 kB / 0.4982 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1444, allocations: 50.88 kB / 0.4982 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.024e-06/0.1444, allocations: 4.031 kB / 0.4982 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002776/0.1472, allocations: 2.156 MB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1472, allocations: 85.67 kB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1475, allocations: 251 kB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1475, allocations: 33.7 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1477, allocations: 217.4 kB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.1479, allocations: 281.5 kB / 0.5012 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.148, allocations: 122.7 kB / 0.5013 GB, free: 13.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1482, allocations: 358.7 kB / 0.5016 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1484, allocations: 161.9 kB / 0.5018 GB, free: 13.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1488, allocations: 268.9 kB / 0.502 GB, free: 12.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.1494, allocations: 476 kB / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1494, allocations: 0 / 0.5025 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007643/0.1501, allocations: 0.571 MB / 0.5031 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1502, allocations: 8 kB / 0.5031 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1502, allocations: 0 / 0.5031 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1502, allocations: 8 kB / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.1508, allocations: 192 kB / 0.5033 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1508, allocations: 8 kB / 0.5033 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1511, allocations: 23.98 kB / 0.5033 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.1511, allocations: 35.92 kB / 0.5033 GB, free: 11.44 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.000207/0.1514, allocations: 173.7 kB / 0.5035 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.1514, allocations: 51.72 kB / 0.5035 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.1516, allocations: 55.64 kB / 0.5036 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1516, allocations: 12 kB / 0.5036 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1516, allocations: 0 / 0.5036 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1516, allocations: 3.984 kB / 0.5036 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.1534, allocations: 1.444 MB / 0.505 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1534, allocations: 4 kB / 0.505 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.154, allocations: 159.7 kB / 0.5052 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.154, allocations: 12.34 kB / 0.5052 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.1541, allocations: 19.94 kB / 0.5052 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.1541, allocations: 8 kB / 0.5052 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1541, allocations: 7.938 kB / 0.5052 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009994/0.1551, allocations: 0.9119 MB / 0.5061 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.1552, allocations: 124.8 kB / 0.5062 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.1552, allocations: 23.92 kB / 0.5062 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.1555, allocations: 20 kB / 0.5063 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.1556, allocations: 44.31 kB / 0.5063 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1556, allocations: 20 kB / 0.5063 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1558, allocations: 185.9 kB / 0.5065 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1558, allocations: 4 kB / 0.5065 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.1563, allocations: 144 kB / 0.5066 GB, free: 7.844 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.1565, allocations: 119.1 kB / 0.5068 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.1571, allocations: 463.5 kB / 0.5072 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1571, allocations: 0.5625 kB / 0.5072 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.1575, allocations: 238.2 kB / 0.5074 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.1583, allocations: 125.3 kB / 0.5075 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1606, allocations: 1.671 MB / 0.5092 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.161, allocations: 0.8407 MB / 0.51 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1612, allocations: 60.66 kB / 0.5101 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.1613, allocations: 39.44 kB / 0.5101 GB, free: 4.203 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1613, allocations: 4 kB / 0.5101 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Templates: time 0.01015/0.1715, allocations: 5.415 MB / 0.5154 GB, free: 14.8 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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