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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 114.6 kB / 17.04 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 192.6 kB / 17.98 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.9 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2038/0.2038, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.91 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 57.79 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006758/0.1199, allocations: 5.76 MB / 0.4941 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1241, allocations: 2.338 MB / 0.4964 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009842/0.1252, allocations: 39.81 kB / 0.4964 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.1258, allocations: 226 kB / 0.4966 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.1264, allocations: 174.3 kB / 0.4968 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1275, allocations: 466.9 kB / 0.4972 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1286, allocations: 1.118 MB / 0.4983 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.1294, allocations: 0.6146 MB / 0.4989 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.1298, allocations: 358.7 kB / 0.4993 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.1302, allocations: 402 kB / 0.4997 GB, free: 316 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.965e-05/0.1303, allocations: 96 kB / 0.4997 GB, free: 220 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1305, allocations: 144 kB / 0.4999 GB, free: 76 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.1307, allocations: 223.2 kB / 0.5001 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.1311, allocations: 469.7 kB / 0.5005 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1321, allocations: 1.25 MB / 0.5018 GB, free: 14.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1321, allocations: 7.938 kB / 0.5018 GB, free: 14.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1321, allocations: 0 / 0.5018 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.1322, allocations: 0 / 0.5018 GB, free: 14.13 MB / 398.1 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.001426/0.1336, allocations: 1.127 MB / 0.5029 GB, free: 12.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1337, allocations: 15.89 kB / 0.5029 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.1338, allocations: 99.72 kB / 0.503 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.1346, allocations: 0.602 MB / 0.5036 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.1347, allocations: 66 kB / 0.5036 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1348, allocations: 95.98 kB / 0.5037 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1362, allocations: 0.8892 MB / 0.5046 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.1363, allocations: 11.89 kB / 0.5046 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.1363, allocations: 40 kB / 0.5046 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.1364, allocations: 24 kB / 0.5047 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.1373, allocations: 0.519 MB / 0.5052 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.1407, allocations: 3.6 MB / 0.5087 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.1413, allocations: 226.6 kB / 0.5089 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.1414, allocations: 104.8 kB / 0.509 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.1417, allocations: 251.3 kB / 0.5092 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1417, allocations: 38.56 kB / 0.5093 GB, free: 6.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.1417, allocations: 0 / 0.5093 GB, free: 6.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002431/0.1442, allocations: 1.295 MB / 0.5105 GB, free: 4.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1442, allocations: 67.28 kB / 0.5106 GB, free: 4.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1447, allocations: 397.8 kB / 0.511 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1447, allocations: 33.7 kB / 0.511 GB, free: 4.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.145, allocations: 466.1 kB / 0.5115 GB, free: 3.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1451, allocations: 134.1 kB / 0.5116 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.1453, allocations: 102.2 kB / 0.5117 GB, free: 3.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1454, allocations: 362.8 kB / 0.512 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1456, allocations: 109.1 kB / 0.5121 GB, free: 2.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.146, allocations: 314.2 kB / 0.5124 GB, free: 2.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.1465, allocations: 452.7 kB / 0.5129 GB, free: 2.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1465, allocations: 0 / 0.5129 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007727/0.1473, allocations: 0.5162 MB / 0.5134 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1473, allocations: 10.97 kB / 0.5134 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1474, allocations: 8 kB / 0.5134 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.1476, allocations: 37.62 kB / 0.5134 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.148, allocations: 131.8 kB / 0.5136 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/0.1484, allocations: 0.5601 MB / 0.5141 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.1486, allocations: 16 kB / 0.5141 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.1486, allocations: 24 kB / 0.5141 GB, free: 0.7227 MB / 398.1 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.0003057/0.1489, allocations: 233.6 kB / 0.5144 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.149, allocations: 55.34 kB / 0.5144 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.1496, allocations: 331.2 kB / 0.5147 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1496, allocations: 4 kB / 0.5147 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1496, allocations: 0 / 0.5147 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1496, allocations: 0 / 0.5147 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.151, allocations: 1.058 MB / 0.5158 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1511, allocations: 0 / 0.5158 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.1514, allocations: 79.84 kB / 0.5158 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.1516, allocations: 36.81 kB / 0.5159 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.1516, allocations: 15.98 kB / 0.5159 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/0.1519, allocations: 0.5448 MB / 0.5164 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.152, allocations: 3.938 kB / 0.5164 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.1527, allocations: 0.5601 MB / 0.517 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.1528, allocations: 120.4 kB / 0.5171 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.1528, allocations: 8 kB / 0.5171 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.153, allocations: 12 kB / 0.5171 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.1531, allocations: 23.91 kB / 0.5171 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1531, allocations: 20 kB / 0.5172 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1534, allocations: 271.1 kB / 0.5174 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1534, allocations: 0 / 0.5174 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005655/0.1539, allocations: 120 kB / 0.5175 GB, free: 13.07 MB / 414.1 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.0001557/0.1541, allocations: 115.2 kB / 0.5176 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.1547, allocations: 339.8 kB / 0.518 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1547, allocations: 0 / 0.518 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.155, allocations: 142.5 kB / 0.5181 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.1556, allocations: 86.11 kB / 0.5182 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1581, allocations: 1.645 MB / 0.5198 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.1586, allocations: 0.9561 MB / 0.5207 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1587, allocations: 43.42 kB / 0.5208 GB, free: 9.672 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1587, allocations: 4 kB / 0.5208 GB, free: 9.668 MB / 414.1 MB Notification: Performance of Templates: time 0.2395/0.3982, allocations: 11.12 MB / 0.5316 GB, free: 40.44 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches