Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 236 MB, free: 2.973 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.000802/0.0008019, allocations: 91.78 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1641/0.1641, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.038e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.5087, allocations: 87.22 MB / 0.5869 GB, free: 2.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.5089, allocations: 67.97 kB / 0.5869 GB, free: 2.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.527, allocations: 7.299 MB / 0.5941 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5271, allocations: 0 / 0.5941 GB, free: 10.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.5271, allocations: 12 kB / 0.5941 GB, free: 10.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008502/0.528, allocations: 0.5919 MB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.528, allocations: 12.03 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.5281, allocations: 47.44 kB / 0.5947 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.5284, allocations: 222.3 kB / 0.5949 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.5284, allocations: 37.28 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.5285, allocations: 59.84 kB / 0.595 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.5293, allocations: 446.4 kB / 0.5954 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.5293, allocations: 11.91 kB / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.5293, allocations: 20 kB / 0.5955 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5294, allocations: 12 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.5297, allocations: 253.8 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.5318, allocations: 1.703 MB / 0.5974 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.5323, allocations: 403.9 kB / 0.5978 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.5325, allocations: 151.8 kB / 0.5979 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.5325, allocations: 14.95 kB / 0.5979 GB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5326, allocations: 50.48 kB / 0.598 GB, free: 6.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.5326, allocations: 0 / 0.598 GB, free: 6.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005427/0.5331, allocations: 269 kB / 0.5982 GB, free: 6.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5333, allocations: 272.9 kB / 0.5985 GB, free: 5.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5335, allocations: 219.2 kB / 0.5987 GB, free: 5.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5335, allocations: 33.7 kB / 0.5987 GB, free: 5.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.5337, allocations: 239.6 kB / 0.599 GB, free: 5.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5338, allocations: 185.5 kB / 0.5992 GB, free: 5.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.5338, allocations: 16 kB / 0.5992 GB, free: 5.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.534, allocations: 346.8 kB / 0.5995 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5341, allocations: 109.6 kB / 0.5996 GB, free: 4.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.5345, allocations: 407.5 kB / 0.6 GB, free: 4.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.5348, allocations: 184.2 kB / 0.6002 GB, free: 3.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5348, allocations: 4 kB / 0.6002 GB, free: 3.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007542/0.5356, allocations: 0.5599 MB / 0.6007 GB, free: 3.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5356, allocations: 9.094 kB / 0.6007 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5356, allocations: 8 kB / 0.6007 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.5357, allocations: 16 kB / 0.6007 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.5362, allocations: 183.7 kB / 0.6009 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.5362, allocations: 19.94 kB / 0.6009 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.5364, allocations: 63.33 kB / 0.601 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.5365, allocations: 36 kB / 0.601 GB, free: 3.023 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001233/0.5366, allocations: 152.7 kB / 0.6012 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5368, allocations: 39.62 kB / 0.6012 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.5369, allocations: 37.83 kB / 0.6013 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.5369, allocations: 8 kB / 0.6013 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.5369, allocations: 7.828 kB / 0.6013 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.5369, allocations: 0 / 0.6013 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.5378, allocations: 421.1 kB / 0.6017 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5378, allocations: 4 kB / 0.6017 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.5383, allocations: 119.9 kB / 0.6018 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5384, allocations: 4 kB / 0.6018 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.5384, allocations: 19.92 kB / 0.6018 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5384, allocations: 11.94 kB / 0.6018 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5384, allocations: 0 / 0.6018 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.5392, allocations: 1.169 MB / 0.603 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.5393, allocations: 116.6 kB / 0.6031 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.5394, allocations: 8 kB / 0.6031 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.5397, allocations: 12 kB / 0.6031 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.5398, allocations: 35.89 kB / 0.6031 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.5398, allocations: 12.12 kB / 0.6031 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.54, allocations: 167.1 kB / 0.6033 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.54, allocations: 0 / 0.6033 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.5407, allocations: 143.7 kB / 0.6034 GB, free: 424 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0001336/0.5408, allocations: 119.1 kB / 0.6036 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.5413, allocations: 336.6 kB / 0.6039 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5413, allocations: 4 kB / 0.6039 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.5415, allocations: 120.8 kB / 0.604 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.5422, allocations: 79.48 kB / 0.6041 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.5446, allocations: 1.991 MB / 0.606 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.5451, allocations: 0.8355 MB / 0.6068 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.5453, allocations: 52.14 kB / 0.6069 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.5454, allocations: 39.44 kB / 0.6069 GB, free: 12.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5454, allocations: 3.938 kB / 0.6069 GB, free: 12.76 MB / 426.7 MB Notification: Performance of Templates: time 0.007246/0.5526, allocations: 3.738 MB / 0.6106 GB, free: 9.059 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches