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.001256/0.001256, allocations: 112.4 kB / 17.09 MB, free: 5.984 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.001335/0.001335, allocations: 199.4 kB / 18.03 MB, free: 5.055 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.551/1.551, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2326/0.2326, allocations: 43.52 MB / 314.8 MB, free: 452 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.001513/0.001513, allocations: 69.62 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008767/0.124, allocations: 5.755 MB / 0.4942 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.1289, allocations: 2.322 MB / 0.4964 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.1299, allocations: 39.75 kB / 0.4965 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.1307, allocations: 230 kB / 0.4967 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.1316, allocations: 182.3 kB / 0.4969 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1328, allocations: 463 kB / 0.4973 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.1343, allocations: 1.13 MB / 0.4984 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008687/0.1352, allocations: 0.6146 MB / 0.499 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.1356, allocations: 366.7 kB / 0.4994 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.136, allocations: 386 kB / 0.4997 GB, free: 272 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1361, allocations: 103.9 kB / 0.4998 GB, free: 168 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1364, allocations: 159.9 kB / 0.5 GB, free: 8 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.1366, allocations: 211.4 kB / 0.5002 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.137, allocations: 469.6 kB / 0.5006 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.1383, allocations: 1.272 MB / 0.5019 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1383, allocations: 0 / 0.5019 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1383, allocations: 0 / 0.5019 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.1383, allocations: 0 / 0.5019 GB, free: 14.06 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.001568/0.1399, allocations: 1.164 MB / 0.503 GB, free: 12.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1399, allocations: 11.89 kB / 0.503 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1401, allocations: 104.3 kB / 0.5031 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.141, allocations: 0.5986 MB / 0.5037 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.141, allocations: 69.94 kB / 0.5038 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.1412, allocations: 91.95 kB / 0.5039 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.1425, allocations: 0.8931 MB / 0.5047 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.1426, allocations: 7.938 kB / 0.5047 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.1426, allocations: 36 kB / 0.5048 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.1427, allocations: 27.98 kB / 0.5048 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.1436, allocations: 0.5268 MB / 0.5053 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.1473, allocations: 3.609 MB / 0.5088 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.1479, allocations: 222.6 kB / 0.509 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.1481, allocations: 108.8 kB / 0.5091 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.1484, allocations: 247.3 kB / 0.5094 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1485, allocations: 38.56 kB / 0.5094 GB, free: 5.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.1485, allocations: 0 / 0.5094 GB, free: 5.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002458/0.151, allocations: 1.308 MB / 0.5107 GB, free: 4.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.151, allocations: 63.41 kB / 0.5108 GB, free: 4.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.1515, allocations: 409.8 kB / 0.5111 GB, free: 4.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1515, allocations: 29.7 kB / 0.5112 GB, free: 4.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.1519, allocations: 483.5 kB / 0.5116 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.152, allocations: 138.8 kB / 0.5118 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.1522, allocations: 94.2 kB / 0.5119 GB, free: 3.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1524, allocations: 362.7 kB / 0.5122 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1526, allocations: 113.1 kB / 0.5123 GB, free: 2.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.153, allocations: 318.2 kB / 0.5126 GB, free: 2.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.1536, allocations: 448.7 kB / 0.513 GB, free: 1.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1536, allocations: 8 kB / 0.5131 GB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007929/0.1544, allocations: 0.5167 MB / 0.5136 GB, free: 1.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1545, allocations: 8 kB / 0.5136 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1545, allocations: 8 kB / 0.5136 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.1547, allocations: 36.84 kB / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1551, allocations: 119.8 kB / 0.5137 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/0.1555, allocations: 0.5645 MB / 0.5143 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.1557, allocations: 24 kB / 0.5143 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.1558, allocations: 24 kB / 0.5143 GB, free: 0.5664 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.0002905/0.1561, allocations: 229.6 kB / 0.5145 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.1561, allocations: 51.61 kB / 0.5146 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.1568, allocations: 327.4 kB / 0.5149 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.1568, allocations: 7.922 kB / 0.5149 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1568, allocations: 4 kB / 0.5149 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.1569, allocations: 112.8 kB / 0.515 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.157, allocations: 12 kB / 0.515 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1571, allocations: 11.98 kB / 0.515 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1572, allocations: 19.91 kB / 0.5151 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008509/0.158, allocations: 433.3 kB / 0.5155 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007692/0.1588, allocations: 0.6013 MB / 0.5161 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002021/0.159, allocations: 116.2 kB / 0.5162 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.1593, allocations: 271.1 kB / 0.5164 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Backend: time 4e-07/0.1593, allocations: 0 / 0.5164 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.1601, allocations: 350 kB / 0.5168 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 0.0026/0.1627, allocations: 2.12 MB / 0.5188 GB, free: 11.82 MB / 414.1 MB Notification: Performance of Templates: time 0.01125/0.174, allocations: 5.084 MB / 0.5238 GB, free: 6.75 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