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.001596/0.001596, allocations: 96.98 kB / 16.93 MB, free: 6.188 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.001689/0.001689, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.7 MB, free: 12.28 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.2045/0.2045, allocations: 43.52 MB / 314.6 MB, free: 0.5117 MB / 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.001601/0.001601, allocations: 65.42 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09746, allocations: 57.79 MB / 441.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005967/0.1035, allocations: 5.753 MB / 446.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.108, allocations: 2.334 MB / 449.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.1095, allocations: 39.75 kB / 449.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.1105, allocations: 226 kB / 449.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.1117, allocations: 178.3 kB / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1132, allocations: 459 kB / 450.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1148, allocations: 1.122 MB / 451.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.116, allocations: 0.6187 MB / 451.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.1166, allocations: 366.7 kB / 452.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.1172, allocations: 382.1 kB / 452.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.1174, allocations: 96 kB / 452.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.1179, allocations: 155.9 kB / 452.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.1181, allocations: 219.2 kB / 453.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.1187, allocations: 465.7 kB / 453.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.12, allocations: 1.23 MB / 454.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.12, allocations: 0 / 454.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1201, allocations: 0 / 454.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.185e-05/0.1201, allocations: 3.938 kB / 454.8 MB, free: 9.203 MB / 334.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.002054/0.1222, allocations: 1.123 MB / 455.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1222, allocations: 15.83 kB / 455.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1224, allocations: 103.7 kB / 456 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.1232, allocations: 0.5669 MB / 456.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.107e-05/0.1233, allocations: 70 kB / 456.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.1234, allocations: 88 kB / 456.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.1249, allocations: 0.8931 MB / 457.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.125, allocations: 11.84 kB / 457.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.1251, allocations: 36 kB / 457.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.1251, allocations: 27.98 kB / 457.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1262, allocations: 0.5191 MB / 458.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.1298, allocations: 3.639 MB / 461.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.1304, allocations: 227.7 kB / 462.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.1306, allocations: 104.8 kB / 462.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.131, allocations: 247.3 kB / 462.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.131, allocations: 43.06 kB / 462.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 3.948e-06/0.131, allocations: 0 / 462.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002466/0.1335, allocations: 1.295 MB / 463.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.1336, allocations: 59.34 kB / 463.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.134, allocations: 401.8 kB / 464.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1341, allocations: 33.7 kB / 464.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.1344, allocations: 462.1 kB / 464.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1345, allocations: 142 kB / 464.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1346, allocations: 94.16 kB / 464.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1347, allocations: 358.8 kB / 465.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.135, allocations: 121.1 kB / 465.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.1353, allocations: 310.2 kB / 465.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.1359, allocations: 456.5 kB / 466.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1359, allocations: 4 kB / 466.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008626/0.1368, allocations: 0.5087 MB / 466.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1368, allocations: 8 kB / 466.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1369, allocations: 8 kB / 466.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.1371, allocations: 41.48 kB / 466.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1375, allocations: 127.8 kB / 466.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000406/0.1379, allocations: 0.5562 MB / 467.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1381, allocations: 23.98 kB / 467.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.1382, allocations: 27.94 kB / 467.4 MB, free: 11.8 MB / 350.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.0003218/0.1385, allocations: 229.6 kB / 467.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.1386, allocations: 55.34 kB / 467.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.1392, allocations: 323.3 kB / 468 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1392, allocations: 4 kB / 468 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1392, allocations: 0 / 468 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1393, allocations: 3.984 kB / 468 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.1407, allocations: 1.054 MB / 469.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1407, allocations: 0 / 469.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.141, allocations: 83.89 kB / 469.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.1412, allocations: 36.94 kB / 469.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.1412, allocations: 8 kB / 469.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003519/0.1416, allocations: 0.5524 MB / 469.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1416, allocations: 4.031 kB / 469.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.1424, allocations: 0.563 MB / 470.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.1425, allocations: 120.5 kB / 470.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.1426, allocations: 8 kB / 470.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1428, allocations: 12.17 kB / 470.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.1428, allocations: 31.91 kB / 470.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1429, allocations: 11.94 kB / 470.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.1431, allocations: 271.1 kB / 470.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1431, allocations: 0 / 470.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.1437, allocations: 132 kB / 470.9 MB, free: 8.141 MB / 350.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.0001641/0.1438, allocations: 111.3 kB / 471 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.1446, allocations: 352.6 kB / 471.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1446, allocations: 0 / 471.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.1449, allocations: 140.3 kB / 471.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1454, allocations: 78.7 kB / 471.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.148, allocations: 1.667 MB / 473.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.1486, allocations: 0.96 MB / 474.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1487, allocations: 43.42 kB / 474.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1487, allocations: 0 / 474.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.01477/0.1635, allocations: 11.14 MB / 485.4 MB, free: 9.57 MB / 366.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