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.001043/0.001043, allocations: 111.9 kB / 17.09 MB, free: 5.988 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.001027/0.001027, allocations: 198.1 kB / 18.02 MB, free: 5.066 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.368/1.368, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2034/0.2035, allocations: 43.52 MB / 314.8 MB, free: 468 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.001514/0.001514, allocations: 69.47 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006613/0.1102, allocations: 5.759 MB / 0.4942 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003879/0.1141, allocations: 2.334 MB / 0.4964 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.1149, allocations: 35.81 kB / 0.4965 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.1156, allocations: 226 kB / 0.4967 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.1162, allocations: 186.2 kB / 0.4969 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1173, allocations: 462.9 kB / 0.4973 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.1187, allocations: 1.118 MB / 0.4984 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.1196, allocations: 0.6146 MB / 0.499 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.1201, allocations: 378.6 kB / 0.4994 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005208/0.1206, allocations: 390 kB / 0.4997 GB, free: 280 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.1208, allocations: 96 kB / 0.4998 GB, free: 184 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.1211, allocations: 155.9 kB / 0.5 GB, free: 28 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.1213, allocations: 211.4 kB / 0.5002 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.1216, allocations: 473.6 kB / 0.5006 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1227, allocations: 1.265 MB / 0.5019 GB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1227, allocations: 3.984 kB / 0.5019 GB, free: 14.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1227, allocations: 0 / 0.5019 GB, free: 14.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1228, allocations: 0 / 0.5019 GB, free: 14.08 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.001357/0.1241, allocations: 1.127 MB / 0.503 GB, free: 12.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1242, allocations: 15.89 kB / 0.503 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1243, allocations: 99.72 kB / 0.5031 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.1251, allocations: 0.5942 MB / 0.5037 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.1251, allocations: 73.94 kB / 0.5037 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1252, allocations: 91.98 kB / 0.5038 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.1265, allocations: 0.8931 MB / 0.5047 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.1266, allocations: 11.89 kB / 0.5047 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.1266, allocations: 36 kB / 0.5047 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.1267, allocations: 24 kB / 0.5048 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.1276, allocations: 0.5229 MB / 0.5053 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.1307, allocations: 3.6 MB / 0.5088 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.1313, allocations: 222.7 kB / 0.509 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1314, allocations: 96.83 kB / 0.5091 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.1316, allocations: 251.3 kB / 0.5093 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1317, allocations: 42.55 kB / 0.5094 GB, free: 6.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.1317, allocations: 0 / 0.5094 GB, free: 6.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002369/0.134, allocations: 1.307 MB / 0.5106 GB, free: 4.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1341, allocations: 59.34 kB / 0.5107 GB, free: 4.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.1345, allocations: 401.8 kB / 0.5111 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1346, allocations: 33.7 kB / 0.5111 GB, free: 4.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.1349, allocations: 466.1 kB / 0.5116 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.308e-05/0.135, allocations: 134.1 kB / 0.5117 GB, free: 3.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1352, allocations: 98.16 kB / 0.5118 GB, free: 3.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1354, allocations: 362.8 kB / 0.5121 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.1356, allocations: 113.1 kB / 0.5122 GB, free: 2.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.1359, allocations: 310.2 kB / 0.5125 GB, free: 2.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.1365, allocations: 452.7 kB / 0.513 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1365, allocations: 0 / 0.513 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007249/0.1372, allocations: 0.5163 MB / 0.5135 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1372, allocations: 8 kB / 0.5135 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1373, allocations: 4 kB / 0.5135 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.1374, allocations: 37.59 kB / 0.5135 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.1378, allocations: 135.8 kB / 0.5136 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004705/0.1383, allocations: 0.5562 MB / 0.5142 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1385, allocations: 24 kB / 0.5142 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1386, allocations: 24 kB / 0.5142 GB, free: 0.6719 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.0002614/0.1388, allocations: 225.6 kB / 0.5144 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.1389, allocations: 55.34 kB / 0.5145 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.1395, allocations: 335.2 kB / 0.5148 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1395, allocations: 3.938 kB / 0.5148 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1395, allocations: 0 / 0.5148 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.1396, allocations: 116.5 kB / 0.5149 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.1397, allocations: 12 kB / 0.5149 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1398, allocations: 4 kB / 0.5149 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1399, allocations: 27.91 kB / 0.515 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008032/0.1407, allocations: 425.4 kB / 0.5154 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007065/0.1414, allocations: 0.5972 MB / 0.516 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001816/0.1416, allocations: 124.2 kB / 0.5161 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.1419, allocations: 267.2 kB / 0.5163 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Backend: time 4.11e-07/0.1419, allocations: 0 / 0.5163 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008365/0.1427, allocations: 341.4 kB / 0.5167 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.002856/0.1456, allocations: 2.084 MB / 0.5187 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Templates: time 0.01042/0.156, allocations: 5.222 MB / 0.5238 GB, free: 6.762 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