Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 75.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1174, allocations: 62.44 MB / 481.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00697/0.1244, allocations: 5.785 MB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.1288, allocations: 2.36 MB / 489.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.13, allocations: 39.75 kB / 489.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006666/0.1307, allocations: 230 kB / 489.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006719/0.1314, allocations: 182.3 kB / 490 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1328, allocations: 462.9 kB / 490.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.1342, allocations: 1.111 MB / 491.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/0.1351, allocations: 0.6185 MB / 492.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.1357, allocations: 374.6 kB / 492.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.1361, allocations: 394.1 kB / 493 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1362, allocations: 96 kB / 493 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.1366, allocations: 155.9 kB / 493.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.1368, allocations: 215.2 kB / 493.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.1372, allocations: 469.6 kB / 493.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.1386, allocations: 1.261 MB / 495.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1386, allocations: 4 kB / 495.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1386, allocations: 0 / 495.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1386, allocations: 0 / 495.1 MB, free: 6.793 MB / 366.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.001526/0.1402, allocations: 1.134 MB / 496.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1402, allocations: 11.97 kB / 496.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1405, allocations: 111.7 kB / 496.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009348/0.1414, allocations: 0.5982 MB / 497 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.1415, allocations: 70 kB / 497.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1416, allocations: 95.89 kB / 497.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.143, allocations: 0.8814 MB / 498 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.1431, allocations: 15.83 kB / 498 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.1431, allocations: 40 kB / 498.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.1432, allocations: 24 kB / 498.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.1441, allocations: 0.5191 MB / 498.6 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.1475, allocations: 3.607 MB / 0.4905 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.1481, allocations: 230.1 kB / 0.4907 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1482, allocations: 101.3 kB / 0.4908 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.1484, allocations: 251.3 kB / 0.491 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1485, allocations: 34.55 kB / 0.4911 GB, free: 14.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.986e-06/0.1485, allocations: 0 / 0.4911 GB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.00225/0.1507, allocations: 1.296 MB / 0.4923 GB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1508, allocations: 59.34 kB / 0.4924 GB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1512, allocations: 401.8 kB / 0.4928 GB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1512, allocations: 37.7 kB / 0.4928 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1515, allocations: 466.1 kB / 0.4932 GB, free: 12.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.1516, allocations: 138 kB / 0.4934 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1517, allocations: 102.2 kB / 0.4935 GB, free: 12.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1519, allocations: 358.8 kB / 0.4938 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.1521, allocations: 113.1 kB / 0.4939 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.1524, allocations: 306.2 kB / 0.4942 GB, free: 11.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005406/0.1529, allocations: 467.4 kB / 0.4947 GB, free: 10.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1529, allocations: 0 / 0.4947 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007312/0.1537, allocations: 0.5094 MB / 0.4952 GB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1537, allocations: 8 kB / 0.4952 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1537, allocations: 4 kB / 0.4952 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.1539, allocations: 44.78 kB / 0.4952 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.1543, allocations: 127.8 kB / 0.4953 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003727/0.1547, allocations: 0.564 MB / 0.4959 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1549, allocations: 20.22 kB / 0.4959 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.1549, allocations: 31.92 kB / 0.4959 GB, free: 9.344 MB / 382.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.0002755/0.1552, allocations: 225.7 kB / 0.4961 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.1553, allocations: 59.27 kB / 0.4962 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.1559, allocations: 326.9 kB / 0.4965 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1559, allocations: 8 kB / 0.4965 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1559, allocations: 0 / 0.4965 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1559, allocations: 3.984 kB / 0.4965 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.1573, allocations: 1.051 MB / 0.4976 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1573, allocations: 0 / 0.4976 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.1576, allocations: 79.89 kB / 0.4976 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.1578, allocations: 36.78 kB / 0.4977 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.1578, allocations: 8 kB / 0.4977 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003026/0.1581, allocations: 0.5485 MB / 0.4982 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1581, allocations: 4 kB / 0.4982 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.1588, allocations: 0.5608 MB / 0.4988 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.1589, allocations: 124.5 kB / 0.4989 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.159, allocations: 12 kB / 0.4989 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1592, allocations: 4 kB / 0.4989 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1592, allocations: 35.89 kB / 0.4989 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1592, allocations: 12 kB / 0.4989 GB, free: 6.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.1595, allocations: 271.1 kB / 0.4992 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1595, allocations: 0 / 0.4992 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004866/0.16, allocations: 120 kB / 0.4993 GB, free: 5.703 MB / 382.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.0001586/0.1602, allocations: 115.3 kB / 0.4994 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.1608, allocations: 341.3 kB / 0.4997 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1608, allocations: 4.125 kB / 0.4997 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.1611, allocations: 147.8 kB / 0.4999 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1615, allocations: 72.78 kB / 0.5 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1638, allocations: 1.617 MB / 0.5015 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.1643, allocations: 0.9599 MB / 0.5025 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.1645, allocations: 60.48 kB / 0.5025 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.1646, allocations: 39.44 kB / 0.5026 GB, free: 2.281 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1646, allocations: 3.938 kB / 0.5026 GB, free: 2.277 MB / 382.1 MB Notification: Performance of Templates: time 0.197/0.3616, allocations: 4.138 MB / 0.5066 GB, free: 40.1 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches