Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01093/0.01093, allocations: 104.2 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001176/0.001176, allocations: 169.6 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.73/1.73, allocations: 170.9 MB / 187.6 MB, free: 0.8086 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2571/0.2571, allocations: 38.09 MB / 265.1 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 16 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09128, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01845/0.1098, allocations: 11.8 MB / 384.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.1207, allocations: 4.123 MB / 388.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.1227, allocations: 59.81 kB / 388.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.1247, allocations: 0.5365 MB / 388.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.1318, allocations: 1.855 MB / 390.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.1338, allocations: 455.2 kB / 391.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.1372, allocations: 1.47 MB / 392.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.1398, allocations: 1.39 MB / 394 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009998/0.1408, allocations: 0.6151 MB / 394.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.1423, allocations: 0.8488 MB / 395.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.1427, allocations: 87.94 kB / 395.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.1448, allocations: 0.8073 MB / 396.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.146, allocations: 0.8805 MB / 397.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.1466, allocations: 0.4923 MB / 397.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004869/0.1515, allocations: 3.044 MB / 400.7 MB, free: 264 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1516, allocations: 0 / 400.7 MB, free: 264 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1516, allocations: 0 / 400.7 MB, free: 264 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.1516, allocations: 0 / 400.7 MB, free: 264 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.008084/0.1597, allocations: 2.594 MB / 403.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1598, allocations: 12.03 kB / 403.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.161, allocations: 454.2 kB / 403.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.1742, allocations: 1.985 MB / 405.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/0.1788, allocations: 1.562 MB / 407.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.179, allocations: 123 kB / 407.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/0.1795, allocations: 163.9 kB / 407.6 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.1948, allocations: 6.49 MB / 414.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.1949, allocations: 31.7 kB / 414.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.1953, allocations: 83.89 kB / 414.2 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/0.1992, allocations: 1.378 MB / 415.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.2166, allocations: 5.752 MB / 421.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3358/0.5525, allocations: 26.62 MB / 448 MB, free: 39.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007257/0.5598, allocations: 2.152 MB / 450.1 MB, free: 38.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.56, allocations: 18.12 kB / 450.1 MB, free: 38.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.56, allocations: 42.92 kB / 450.2 MB, free: 38.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=100): time 4.549e-06/0.56, allocations: 0.5 kB / 450.2 MB, free: 38.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=112): time 0.02666/0.5867, allocations: 6.696 MB / 456.9 MB, free: 35.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.5868, allocations: 144.6 kB / 457 MB, free: 35.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005633/0.5925, allocations: 2.981 MB / 460 MB, free: 34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.5928, allocations: 37.42 kB / 460 MB, free: 33.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.5942, allocations: 2.097 MB / 462.1 MB, free: 32.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.5947, allocations: 454.6 kB / 462.6 MB, free: 31.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.595, allocations: 86.72 kB / 462.7 MB, free: 31.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.5952, allocations: 0.4944 MB / 463.2 MB, free: 31.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.5984, allocations: 1.402 MB / 464.6 MB, free: 30.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.6029, allocations: 4.238 MB / 468.8 MB, free: 25.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.6083, allocations: 2.393 MB / 471.2 MB, free: 24.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.319e-05/0.6084, allocations: 28.81 kB / 471.2 MB, free: 24.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01738/0.6258, allocations: 5.433 MB / 476.7 MB, free: 19.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.626, allocations: 54.75 kB / 476.7 MB, free: 19.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/0.6262, allocations: 100 kB / 476.8 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.6264, allocations: 148.9 kB / 476.9 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/0.6373, allocations: 1.22 MB / 478.2 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002548/0.6376, allocations: 199.2 kB / 478.4 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/0.6446, allocations: 235.6 kB / 478.6 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/0.6458, allocations: 284.8 kB / 478.9 MB, free: 17.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (550): * Single equations (assignments): 547 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004104/0.6499, allocations: 1.381 MB / 480.3 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009617/0.6509, allocations: 240.8 kB / 480.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.6554, allocations: 1.258 MB / 481.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-05/0.6555, allocations: 16 kB / 481.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.6555, allocations: 7.062 kB / 481.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.6556, allocations: 7.922 kB / 481.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.6681, allocations: 4.073 MB / 485.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.6682, allocations: 0 / 485.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003485/0.6717, allocations: 359.4 kB / 486.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/0.6717, allocations: 8.266 kB / 486.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.672, allocations: 24.94 kB / 486.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.672, allocations: 4 kB / 486.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.672, allocations: 12.05 kB / 486.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.6762, allocations: 2.083 MB / 488.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.6779, allocations: 469.7 kB / 488.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007637/0.6787, allocations: 16 kB / 488.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/0.6808, allocations: 51.92 kB / 488.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/0.6813, allocations: 56.31 kB / 488.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.6814, allocations: 33.23 kB / 488.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004602/0.686, allocations: 1.873 MB / 490.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6861, allocations: 0 / 490.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004903/0.691, allocations: 0.6602 MB / 491.5 MB, free: 4.902 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004773/0.6958, allocations: 2.912 MB / 494.4 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007696/0.7036, allocations: 3.225 MB / 497.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.7036, allocations: 8.125 kB / 497.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.7057, allocations: 0.7913 MB / 498.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.708, allocations: 241.9 kB / 498.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.121/0.829, allocations: 90.61 MB / 0.5754 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005083/0.8342, allocations: 2.26 MB / 0.5776 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006343/0.8406, allocations: 1.468 MB / 0.5791 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/0.8435, allocations: 1.089 MB / 0.5801 GB, free: 11.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8435, allocations: 0 / 0.5801 GB, free: 11.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.419/1.263, allocations: 47.83 MB / 0.6269 GB, free: 138.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/1.263, allocations: 170.9 kB / 0.627 GB, free: 138.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.879/5.142, allocations: 0 / 0.627 GB, free: 138.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat