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.001242/0.001242, allocations: 118.7 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.001349/0.001349, allocations: 190.4 kB / 18.01 MB, free: 5.074 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.405/1.405, 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.2064/0.2064, allocations: 43.52 MB / 314.8 MB, free: 464 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.00153/0.00153, allocations: 73.45 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1011, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007213/0.1084, allocations: 5.768 MB / 0.4941 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004414/0.1129, allocations: 2.326 MB / 0.4964 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.114, allocations: 39.75 kB / 0.4965 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.1148, allocations: 230 kB / 0.4967 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007526/0.1156, allocations: 178.2 kB / 0.4968 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.117, allocations: 466.9 kB / 0.4973 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.1186, allocations: 1.122 MB / 0.4984 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1197, allocations: 0.6107 MB / 0.499 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.1203, allocations: 366.7 kB / 0.4993 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1209, allocations: 398 kB / 0.4997 GB, free: 284 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.1211, allocations: 100 kB / 0.4998 GB, free: 184 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.1214, allocations: 147.9 kB / 0.4999 GB, free: 36 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.1217, allocations: 215.4 kB / 0.5002 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.1222, allocations: 473.6 kB / 0.5006 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.1235, allocations: 1.265 MB / 0.5018 GB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1235, allocations: 0 / 0.5018 GB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1235, allocations: 0 / 0.5018 GB, free: 14.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.1236, allocations: 7.938 kB / 0.5018 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.001925/0.1255, allocations: 1.131 MB / 0.503 GB, free: 12.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1256, allocations: 15.89 kB / 0.503 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.1257, allocations: 99.72 kB / 0.5031 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.1267, allocations: 0.5981 MB / 0.5036 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.1268, allocations: 66 kB / 0.5037 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.127, allocations: 92 kB / 0.5038 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.1286, allocations: 0.8892 MB / 0.5047 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.1286, allocations: 11.91 kB / 0.5047 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.1287, allocations: 36 kB / 0.5047 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.1287, allocations: 24 kB / 0.5047 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1298, allocations: 0.5229 MB / 0.5052 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.1336, allocations: 3.604 MB / 0.5088 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.1342, allocations: 226.6 kB / 0.509 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1344, allocations: 100.8 kB / 0.5091 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.1346, allocations: 247.3 kB / 0.5093 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1347, allocations: 42.56 kB / 0.5094 GB, free: 6.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.1347, allocations: 0 / 0.5094 GB, free: 6.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002532/0.1372, allocations: 1.291 MB / 0.5106 GB, free: 4.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1373, allocations: 59.34 kB / 0.5107 GB, free: 4.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.1377, allocations: 405.8 kB / 0.5111 GB, free: 4.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1378, allocations: 37.7 kB / 0.5111 GB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.1381, allocations: 462.1 kB / 0.5115 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.1382, allocations: 138.1 kB / 0.5117 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1383, allocations: 102.2 kB / 0.5118 GB, free: 3.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1385, allocations: 358.8 kB / 0.5121 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1387, allocations: 117 kB / 0.5122 GB, free: 2.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.139, allocations: 306.3 kB / 0.5125 GB, free: 2.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.1396, allocations: 456.7 kB / 0.5129 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1396, allocations: 0 / 0.5129 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008624/0.1405, allocations: 0.5124 MB / 0.5134 GB, free: 1.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1406, allocations: 11.98 kB / 0.5135 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1406, allocations: 11.94 kB / 0.5135 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.1408, allocations: 40.84 kB / 0.5135 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.1412, allocations: 128.4 kB / 0.5136 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004263/0.1416, allocations: 0.564 MB / 0.5142 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1419, allocations: 16 kB / 0.5142 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.1419, allocations: 24 kB / 0.5142 GB, free: 0.668 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.0003292/0.1423, allocations: 233.6 kB / 0.5144 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.1424, allocations: 55.28 kB / 0.5145 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.143, allocations: 331.3 kB / 0.5148 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.143, allocations: 4 kB / 0.5148 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1431, allocations: 3.984 kB / 0.5148 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1431, allocations: 0 / 0.5148 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1446, allocations: 1.054 MB / 0.5158 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1446, allocations: 4 kB / 0.5159 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.145, allocations: 71.95 kB / 0.5159 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.1452, allocations: 44.72 kB / 0.516 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.1452, allocations: 8 kB / 0.516 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003452/0.1456, allocations: 0.5448 MB / 0.5165 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1456, allocations: 0 / 0.5165 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.1464, allocations: 0.564 MB / 0.5171 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1466, allocations: 116.5 kB / 0.5172 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.1466, allocations: 15.98 kB / 0.5172 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1468, allocations: 8 kB / 0.5172 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.1469, allocations: 27.94 kB / 0.5172 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.1469, allocations: 12 kB / 0.5172 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000298/0.1472, allocations: 275.1 kB / 0.5175 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1472, allocations: 4 kB / 0.5175 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.1478, allocations: 120 kB / 0.5176 GB, free: 13.02 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.0001833/0.148, allocations: 115.2 kB / 0.5177 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.1488, allocations: 328.3 kB / 0.518 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1488, allocations: 0 / 0.518 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.1491, allocations: 146.3 kB / 0.5182 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1497, allocations: 88.95 kB / 0.5183 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.1525, allocations: 1.657 MB / 0.5199 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.1531, allocations: 0.96 MB / 0.5208 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1532, allocations: 43.42 kB / 0.5209 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1532, allocations: 0 / 0.5209 GB, free: 9.609 MB / 414.1 MB Notification: Performance of Templates: time 0.2303/0.3836, allocations: 11.19 MB / 0.5318 GB, free: 39.89 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