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.001181/0.001181, allocations: 183 kB / 16.63 MB, free: 5.137 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.42/1.42, allocations: 205.1 MB / 222.4 MB, free: 8.48 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.001002/0.001002, allocations: 96.91 kB / 269.9 MB, free: 8.438 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.3527/0.3527, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009871/0.0009872, allocations: 47.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.113, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007155/0.1202, allocations: 5.75 MB / 492.8 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.1247, allocations: 2.287 MB / 495 MB, free: 4.461 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.126, allocations: 35.81 kB / 495.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.1268, allocations: 182.6 kB / 495.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000705/0.1276, allocations: 142.8 kB / 495.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1287, allocations: 399.4 kB / 495.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.1297, allocations: 1.048 MB / 496.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007037/0.1305, allocations: 0.5636 MB / 497.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.1308, allocations: 322.7 kB / 497.7 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.1312, allocations: 366 kB / 498.1 MB, free: 1.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.1313, allocations: 56 kB / 498.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1315, allocations: 111.9 kB / 498.2 MB, free: 1.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.1317, allocations: 171.3 kB / 498.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.1322, allocations: 441.6 kB / 498.8 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1333, allocations: 1.156 MB / 500 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1333, allocations: 0 / 500 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1333, allocations: 0 / 500 MB, free: 15.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1333, allocations: 4 kB / 500 MB, free: 15.47 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.001714/0.135, allocations: 1.127 MB / 0.4894 GB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1351, allocations: 12.03 kB / 0.4894 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1353, allocations: 107.7 kB / 0.4895 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.136, allocations: 0.563 MB / 0.49 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.1361, allocations: 70 kB / 0.4901 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1362, allocations: 88 kB / 0.4902 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1376, allocations: 0.8892 MB / 0.4911 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.1376, allocations: 11.84 kB / 0.4911 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.1377, allocations: 40 kB / 0.4911 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.1377, allocations: 24 kB / 0.4911 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/0.1387, allocations: 0.5268 MB / 0.4916 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.1421, allocations: 3.646 MB / 0.4952 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.1426, allocations: 222.7 kB / 0.4954 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1428, allocations: 104.8 kB / 0.4955 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.143, allocations: 251.3 kB / 0.4958 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1431, allocations: 34.5 kB / 0.4958 GB, free: 7.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.1431, allocations: 0 / 0.4958 GB, free: 7.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002207/0.1453, allocations: 1.302 MB / 0.4971 GB, free: 5.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1453, allocations: 55.34 kB / 0.4971 GB, free: 5.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.1457, allocations: 405.8 kB / 0.4975 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1458, allocations: 29.7 kB / 0.4975 GB, free: 5.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.1461, allocations: 474.1 kB / 0.498 GB, free: 5.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.1461, allocations: 142 kB / 0.4981 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1463, allocations: 94.16 kB / 0.4982 GB, free: 4.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1464, allocations: 358.8 kB / 0.4985 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1466, allocations: 113.1 kB / 0.4987 GB, free: 4.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.1469, allocations: 314.2 kB / 0.499 GB, free: 3.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.1475, allocations: 447.4 kB / 0.4994 GB, free: 3.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1475, allocations: 4 kB / 0.4994 GB, free: 3.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007571/0.1483, allocations: 0.5139 MB / 0.4999 GB, free: 2.863 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1483, allocations: 8 kB / 0.4999 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1483, allocations: 8 kB / 0.4999 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.1485, allocations: 40.78 kB / 0.4999 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.1489, allocations: 119.8 kB / 0.5001 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003563/0.1492, allocations: 0.5601 MB / 0.5006 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1494, allocations: 24.16 kB / 0.5006 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1495, allocations: 28 kB / 0.5007 GB, free: 2.051 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.1498, allocations: 225.6 kB / 0.5009 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.1499, allocations: 51.38 kB / 0.5009 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.1505, allocations: 330.9 kB / 0.5012 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1505, allocations: 4 kB / 0.5012 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1505, allocations: 4 kB / 0.5012 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1505, allocations: 4 kB / 0.5012 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1518, allocations: 1.051 MB / 0.5023 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1519, allocations: 7.984 kB / 0.5023 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.1522, allocations: 75.91 kB / 0.5023 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.1523, allocations: 32.78 kB / 0.5024 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.1524, allocations: 15.98 kB / 0.5024 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.197/0.3494, allocations: 0.5369 MB / 0.5029 GB, free: 59.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3494, allocations: 3.766 kB / 0.5029 GB, free: 59.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.3535, allocations: 4.047 MB / 0.5069 GB, free: 56.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.3536, allocations: 117.2 kB / 0.507 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.3537, allocations: 15.05 kB / 0.507 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3538, allocations: 7.875 kB / 0.507 GB, free: 56.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.3539, allocations: 25.62 kB / 0.507 GB, free: 56.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.3539, allocations: 14.66 kB / 0.507 GB, free: 56.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003142/0.3543, allocations: 270 kB / 0.5073 GB, free: 56.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3543, allocations: 3.5 kB / 0.5073 GB, free: 56.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006817/0.355, allocations: 165.7 kB / 0.5075 GB, free: 56.51 MB / 394.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.3551, allocations: 118.5 kB / 0.5076 GB, free: 56.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.3558, allocations: 326.3 kB / 0.5079 GB, free: 56.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3558, allocations: 0 / 0.5079 GB, free: 56.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.3561, allocations: 142 kB / 0.508 GB, free: 56.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3566, allocations: 75.81 kB / 0.5081 GB, free: 56.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.3593, allocations: 2.373 MB / 0.5104 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3597, allocations: 0.9677 MB / 0.5114 GB, free: 53.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.3599, allocations: 68.75 kB / 0.5114 GB, free: 53.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.36, allocations: 46.53 kB / 0.5115 GB, free: 53.9 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.36, allocations: 0 / 0.5115 GB, free: 53.9 MB / 394.7 MB Notification: Performance of Templates: time 0.008676/0.3687, allocations: 4.622 MB / 0.516 GB, free: 53.53 MB / 394.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@2/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