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.001688/0.001687, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.896/1.896, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009831/0.0009837, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2441/0.2441, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6352, allocations: 92.59 MB / 0.5692 GB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.6355, allocations: 68.47 kB / 0.5692 GB, free: 7.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03406/0.6696, allocations: 13.71 MB / 0.5826 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6697, allocations: 0 / 0.5826 GB, free: 11.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.529e-05/0.6698, allocations: 24 kB / 0.5826 GB, free: 11.84 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.00154/0.6713, allocations: 0.9563 MB / 0.5836 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6714, allocations: 8.031 kB / 0.5836 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.6715, allocations: 102.8 kB / 0.5837 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.6723, allocations: 0.5481 MB / 0.5842 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.6724, allocations: 64.81 kB / 0.5843 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6725, allocations: 90.88 kB / 0.5844 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.674, allocations: 0.8783 MB / 0.5852 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.6741, allocations: 19.2 kB / 0.5852 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.6741, allocations: 43.27 kB / 0.5853 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.6742, allocations: 20 kB / 0.5853 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.6751, allocations: 0.5213 MB / 0.5858 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.679, allocations: 3.635 MB / 0.5894 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.6796, allocations: 224.9 kB / 0.5896 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.6799, allocations: 254.6 kB / 0.5898 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.68, allocations: 38.5 kB / 0.5899 GB, free: 5.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 5.2e-06/0.68, allocations: 0 / 0.5899 GB, free: 5.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002547/0.6825, allocations: 1.304 MB / 0.5911 GB, free: 4.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.6826, allocations: 55.41 kB / 0.5912 GB, free: 4.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.683, allocations: 348 kB / 0.5915 GB, free: 3.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.683, allocations: 29.2 kB / 0.5915 GB, free: 3.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.6834, allocations: 475.9 kB / 0.592 GB, free: 3.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.6835, allocations: 136.8 kB / 0.5921 GB, free: 3.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.6835, allocations: 7.25 kB / 0.5921 GB, free: 3.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6837, allocations: 363 kB / 0.5925 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.6839, allocations: 109.3 kB / 0.5926 GB, free: 2.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.6843, allocations: 312.4 kB / 0.5929 GB, free: 2.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.6845, allocations: 160.4 kB / 0.593 GB, free: 2.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6845, allocations: 0 / 0.593 GB, free: 2.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007728/0.6853, allocations: 0.5144 MB / 0.5935 GB, free: 2.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6854, allocations: 8 kB / 0.5935 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6854, allocations: 12.78 kB / 0.5936 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.6856, allocations: 46.95 kB / 0.5936 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.686, allocations: 122.8 kB / 0.5937 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004122/0.6864, allocations: 0.5529 MB / 0.5943 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.6866, allocations: 19.98 kB / 0.5943 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.6867, allocations: 26.12 kB / 0.5943 GB, free: 1.305 MB / 394.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 () * Number of clocked 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.0004388/0.6871, allocations: 251.3 kB / 0.5945 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.6872, allocations: 47.34 kB / 0.5946 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.6879, allocations: 326.9 kB / 0.5949 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.6879, allocations: 7.938 kB / 0.5949 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6879, allocations: 0 / 0.5949 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6879, allocations: 7.984 kB / 0.5949 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.6894, allocations: 1.057 MB / 0.5959 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6895, allocations: 7.938 kB / 0.596 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.6898, allocations: 87.41 kB / 0.596 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/0.69, allocations: 27.97 kB / 0.5961 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.69, allocations: 11.06 kB / 0.5961 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003372/0.6903, allocations: 0.5421 MB / 0.5966 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6904, allocations: 8.188 kB / 0.5966 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.6911, allocations: 0.6293 MB / 0.5972 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6912, allocations: 120.4 kB / 0.5973 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.6913, allocations: 10.94 kB / 0.5974 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6915, allocations: 11.31 kB / 0.5974 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.6915, allocations: 23.53 kB / 0.5974 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.6916, allocations: 8 kB / 0.5974 GB, free: 14.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.6918, allocations: 270.7 kB / 0.5976 GB, free: 14.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6918, allocations: 0 / 0.5976 GB, free: 14.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000545/0.6924, allocations: 135.6 kB / 0.5978 GB, free: 14.18 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 () * Number of clocked 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.0001923/0.6926, allocations: 126.2 kB / 0.5979 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.6932, allocations: 328 kB / 0.5982 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6933, allocations: 4.125 kB / 0.5982 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.6935, allocations: 140 kB / 0.5983 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.6939, allocations: 59.94 kB / 0.5984 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.6968, allocations: 2.06 MB / 0.6004 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.6975, allocations: 0.978 MB / 0.6014 GB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.6977, allocations: 64.53 kB / 0.6014 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.6978, allocations: 39.42 kB / 0.6015 GB, free: 10.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6978, allocations: 0 / 0.6015 GB, free: 10.55 MB / 410.7 MB Notification: Performance of Templates: time 0.009033/0.7068, allocations: 3.836 MB / 0.6052 GB, free: 6.734 MB / 410.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