Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002353/0.002353, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001135/0.001135, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2839/0.2839, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.231e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4962/0.6195, allocations: 86.02 MB / 0.5568 GB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.6198, allocations: 70.61 kB / 0.5569 GB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02837/0.6482, allocations: 7.111 MB / 0.5638 GB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.6483, allocations: 4 kB / 0.5638 GB, free: 11.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.6483, allocations: 8 kB / 0.5638 GB, free: 11.64 MB / 378.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.001224/0.6495, allocations: 0.5949 MB / 0.5644 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6496, allocations: 8.031 kB / 0.5644 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.6497, allocations: 58.94 kB / 0.5645 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.65, allocations: 226.6 kB / 0.5647 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.65, allocations: 35 kB / 0.5647 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6502, allocations: 57.45 kB / 0.5648 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.6511, allocations: 439.3 kB / 0.5652 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.6512, allocations: 7.906 kB / 0.5652 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.6513, allocations: 17.94 kB / 0.5652 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.6513, allocations: 15.98 kB / 0.5652 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.652, allocations: 250.4 kB / 0.5655 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.6553, allocations: 1.703 MB / 0.5671 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.6561, allocations: 403 kB / 0.5675 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.6564, allocations: 148.9 kB / 0.5677 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.6565, allocations: 15.94 kB / 0.5677 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.6565, allocations: 45.12 kB / 0.5677 GB, free: 7.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.978e-06/0.6566, allocations: 7.609 kB / 0.5677 GB, free: 7.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001196/0.6578, allocations: 276.5 kB / 0.568 GB, free: 7.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002291/0.658, allocations: 269 kB / 0.5682 GB, free: 7.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.6586, allocations: 215.6 kB / 0.5684 GB, free: 7.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.6586, allocations: 36.39 kB / 0.5685 GB, free: 7.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.659, allocations: 306.9 kB / 0.5688 GB, free: 6.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.6593, allocations: 185.5 kB / 0.5689 GB, free: 6.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.6593, allocations: 14.69 kB / 0.569 GB, free: 6.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.6596, allocations: 333.7 kB / 0.5693 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.6601, allocations: 112.4 kB / 0.5694 GB, free: 6.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/0.6609, allocations: 404.9 kB / 0.5698 GB, free: 5.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.6617, allocations: 186.4 kB / 0.57 GB, free: 5.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.6617, allocations: 0 / 0.57 GB, free: 5.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002119/0.6638, allocations: 0.5436 MB / 0.5705 GB, free: 5.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.6639, allocations: 15.23 kB / 0.5705 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.6639, allocations: 12 kB / 0.5705 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.228e-05/0.664, allocations: 12 kB / 0.5705 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.6657, allocations: 182.5 kB / 0.5707 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.114e-05/0.6657, allocations: 23.86 kB / 0.5707 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.6665, allocations: 65.78 kB / 0.5708 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.6666, allocations: 31.95 kB / 0.5708 GB, free: 4.973 MB / 378.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.0002488/0.6669, allocations: 157.6 kB / 0.571 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.6674, allocations: 31.62 kB / 0.571 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.6676, allocations: 49.72 kB / 0.571 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.6676, allocations: 4 kB / 0.571 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.6676, allocations: 4 kB / 0.571 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.6677, allocations: 3.984 kB / 0.571 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.6702, allocations: 409.2 kB / 0.5714 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.6702, allocations: 4 kB / 0.5714 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.6721, allocations: 123.1 kB / 0.5716 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.6721, allocations: 4 kB / 0.5716 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.6722, allocations: 23.11 kB / 0.5716 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.537e-05/0.6723, allocations: 15.94 kB / 0.5716 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.6723, allocations: 7.938 kB / 0.5716 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.6742, allocations: 1.162 MB / 0.5727 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.6744, allocations: 116.6 kB / 0.5729 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.6745, allocations: 10.12 kB / 0.5729 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6757, allocations: 14.8 kB / 0.5729 GB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6758, allocations: 27.16 kB / 0.5729 GB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.6759, allocations: 11.38 kB / 0.5729 GB, free: 2.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003521/0.6762, allocations: 176.1 kB / 0.5731 GB, free: 2.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.6762, allocations: 0 / 0.5731 GB, free: 2.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002015/0.6783, allocations: 134.6 kB / 0.5732 GB, free: 2.637 MB / 378.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.0002558/0.6786, allocations: 118.1 kB / 0.5733 GB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.6799, allocations: 336.2 kB / 0.5736 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6799, allocations: 0 / 0.5736 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.6804, allocations: 122 kB / 0.5738 GB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.6823, allocations: 92.45 kB / 0.5739 GB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.6888, allocations: 2.019 MB / 0.5758 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.6897, allocations: 0.8411 MB / 0.5766 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.69, allocations: 35.44 kB / 0.5767 GB, free: 15.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.69, allocations: 4 kB / 0.5767 GB, free: 15.18 MB / 394.7 MB Notification: Performance of Templates: time 0.0184/0.7084, allocations: 4.857 MB / 0.5814 GB, free: 10.4 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches