Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.272/1.272, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008389/0.0008389, allocations: 90.61 kB / 267.1 MB, free: 9.273 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.3511/0.3511, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.022e-05, allocations: 0 / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 58.85 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5271, allocations: 92.49 MB / 0.5631 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5274, allocations: 67.66 kB / 0.5632 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02789/0.5553, allocations: 13.69 MB / 0.5766 GB, free: 1.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5554, allocations: 0 / 0.5766 GB, free: 1.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.676e-05/0.5554, allocations: 27.98 kB / 0.5766 GB, free: 1.875 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001187/0.5566, allocations: 0.9102 MB / 0.5775 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5567, allocations: 8.031 kB / 0.5775 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.5568, allocations: 102.8 kB / 0.5776 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.5576, allocations: 0.5437 MB / 0.5781 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.5576, allocations: 68.25 kB / 0.5782 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.5577, allocations: 92.81 kB / 0.5783 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5592, allocations: 0.8538 MB / 0.5791 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.5592, allocations: 11.92 kB / 0.5791 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.5593, allocations: 45.2 kB / 0.5791 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.5593, allocations: 20 kB / 0.5792 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.5602, allocations: 0.4929 MB / 0.5796 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.5637, allocations: 3.627 MB / 0.5832 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.5642, allocations: 217.7 kB / 0.5834 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.5643, allocations: 99.28 kB / 0.5835 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.5646, allocations: 247.3 kB / 0.5837 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5646, allocations: 37.88 kB / 0.5838 GB, free: 11.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.5646, allocations: 4 kB / 0.5838 GB, free: 11.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001934/0.5665, allocations: 1.197 MB / 0.5849 GB, free: 10.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.5666, allocations: 55.41 kB / 0.585 GB, free: 10.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.567, allocations: 344.7 kB / 0.5853 GB, free: 10.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.567, allocations: 36.52 kB / 0.5854 GB, free: 9.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.5673, allocations: 460.3 kB / 0.5858 GB, free: 9.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5674, allocations: 136.8 kB / 0.5859 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.5674, allocations: 16.62 kB / 0.5859 GB, free: 9.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5676, allocations: 363.6 kB / 0.5863 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.5678, allocations: 101.8 kB / 0.5864 GB, free: 9.094 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.5681, allocations: 290.8 kB / 0.5867 GB, free: 8.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.5683, allocations: 161.2 kB / 0.5868 GB, free: 8.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5684, allocations: 0 / 0.5868 GB, free: 8.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006579/0.569, allocations: 0.4942 MB / 0.5873 GB, free: 8.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.569, allocations: 8.781 kB / 0.5873 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5691, allocations: 8 kB / 0.5873 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.5692, allocations: 39.59 kB / 0.5873 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.5696, allocations: 128 kB / 0.5875 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003652/0.57, allocations: 0.5577 MB / 0.588 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.5702, allocations: 15.19 kB / 0.588 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.5702, allocations: 31.73 kB / 0.5881 GB, free: 7.488 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.5703, allocations: 140.6 kB / 0.5882 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.5704, allocations: 51.34 kB / 0.5882 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.571, allocations: 322.6 kB / 0.5886 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.571, allocations: 4 kB / 0.5886 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.571, allocations: 0 / 0.5886 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.571, allocations: 7.922 kB / 0.5886 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.5723, allocations: 1.041 MB / 0.5896 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5723, allocations: 7.953 kB / 0.5896 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.5726, allocations: 83.02 kB / 0.5897 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.5728, allocations: 30.28 kB / 0.5897 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5728, allocations: 11 kB / 0.5897 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/0.5731, allocations: 0.5436 MB / 0.5902 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5731, allocations: 4.031 kB / 0.5902 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.5738, allocations: 0.5934 MB / 0.5908 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-05/0.5739, allocations: 120.2 kB / 0.5909 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.5739, allocations: 15.42 kB / 0.5909 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5741, allocations: 15.42 kB / 0.591 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.5742, allocations: 23.66 kB / 0.591 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.5742, allocations: 19.7 kB / 0.591 GB, free: 4.781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.5744, allocations: 262.8 kB / 0.5913 GB, free: 4.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5745, allocations: 0 / 0.5913 GB, free: 4.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.5749, allocations: 129.9 kB / 0.5914 GB, free: 4.461 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.5751, allocations: 126.2 kB / 0.5915 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005014/0.5756, allocations: 303.5 kB / 0.5918 GB, free: 4.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5756, allocations: 3.938 kB / 0.5918 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.5758, allocations: 148.2 kB / 0.5919 GB, free: 4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.5762, allocations: 65.05 kB / 0.592 GB, free: 3.953 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.5781, allocations: 1.322 MB / 0.5933 GB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.5787, allocations: 0.9758 MB / 0.5942 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.5789, allocations: 62.03 kB / 0.5943 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.5789, allocations: 42.48 kB / 0.5943 GB, free: 1.586 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.579, allocations: 0 / 0.5943 GB, free: 1.586 MB / 410.7 MB Notification: Performance of Templates: time 0.008256/0.5872, allocations: 3.841 MB / 0.5981 GB, free: 13.78 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches