Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.01117/0.01117, allocations: 105.3 kB / 15.06 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.001215/0.001215, allocations: 168.5 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.685/1.685, allocations: 170.9 MB / 187.5 MB, free: 1 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.2733/0.2733, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09165, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002118/0.09383, allocations: 1.267 MB / 373.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.09416, allocations: 111.7 kB / 373.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.09424, allocations: 0 / 373.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.0943, allocations: 15.86 kB / 373.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.09444, allocations: 39.91 kB / 373.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.09458, allocations: 19.98 kB / 373.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.09476, allocations: 83.81 kB / 373.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.0949, allocations: 29.09 kB / 373.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.09499, allocations: 39.86 kB / 373.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.0951, allocations: 47.83 kB / 373.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.09513, allocations: 8 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.09517, allocations: 7.938 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.09521, allocations: 15.98 kB / 374 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.09527, allocations: 45.64 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.09542, allocations: 88.03 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.09544, allocations: 0 / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09545, allocations: 0 / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.09546, allocations: 4 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005418/0.09602, allocations: 395.1 kB / 374.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.09607, allocations: 8.031 kB / 374.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.09614, allocations: 42.55 kB / 374.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.09619, allocations: 11.91 kB / 374.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.09641, allocations: 194.8 kB / 374.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.09644, allocations: 8.234 kB / 374.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.09649, allocations: 19.92 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.0968, allocations: 129.7 kB / 374.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.09683, allocations: 4 kB / 374.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.09686, allocations: 8 kB / 374.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.09688, allocations: 0 / 374.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.09707, allocations: 55.91 kB / 375 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.09807, allocations: 0.5488 MB / 375.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.09827, allocations: 81.08 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.0983, allocations: 4 kB / 375.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.09834, allocations: 42.73 kB / 375.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.09836, allocations: 0 / 375.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000767/0.09913, allocations: 293.4 kB / 375.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.0992, allocations: 81.11 kB / 376 MB, free: 8.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.09932, allocations: 117.8 kB / 376.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.09936, allocations: 29.7 kB / 376.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.09946, allocations: 127.7 kB / 376.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.09952, allocations: 31.55 kB / 376.3 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.09954, allocations: 4 kB / 376.3 MB, free: 8.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.09968, allocations: 318.8 kB / 376.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.09976, allocations: 23.98 kB / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.09989, allocations: 92.52 kB / 376.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.1, allocations: 28 kB / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1, allocations: 4 kB / 376.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004247/0.1004, allocations: 175.4 kB / 376.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1005, allocations: 4 kB / 376.9 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1005, allocations: 4 kB / 376.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.1008, allocations: 37.91 kB / 377 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1009, allocations: 31.92 kB / 377 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.1033, allocations: 2.54 MB / 379.5 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1034, allocations: 11.84 kB / 379.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1034, allocations: 8.25 kB / 379.6 MB, free: 4.945 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.1036, allocations: 122.9 kB / 379.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.1037, allocations: 11.86 kB / 379.7 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.1037, allocations: 15.83 kB / 379.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1037, allocations: 4 kB / 379.7 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1037, allocations: 3.938 kB / 379.7 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1037, allocations: 0 / 379.7 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.1041, allocations: 205.6 kB / 379.9 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1041, allocations: 4 kB / 379.9 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.1043, allocations: 15.94 kB / 379.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.1045, allocations: 33.73 kB / 380 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1046, allocations: 11.95 kB / 380 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.107, allocations: 2.54 MB / 382.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.107, allocations: 0 / 382.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.1075, allocations: 318 kB / 382.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1076, allocations: 93.23 kB / 382.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1076, allocations: 0 / 382.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1078, allocations: 4 kB / 382.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1078, allocations: 7.984 kB / 382.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1079, allocations: 4 kB / 382.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.49e-05/0.108, allocations: 91.27 kB / 383 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.108, allocations: 0 / 383 MB, free: 1.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005083/0.1085, allocations: 43.8 kB / 383.1 MB, free: 1.051 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007886/0.1093, allocations: 0.9206 MB / 384 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.1099, allocations: 297.3 kB / 384.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1099, allocations: 0 / 384.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.1103, allocations: 261.2 kB / 384.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.1108, allocations: 20.48 kB / 384.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1134, allocations: 2.366 MB / 386.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1138, allocations: 0.7161 MB / 387.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.1139, allocations: 8.875 kB / 387.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.114, allocations: 31.42 kB / 387.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.114, allocations: 0 / 387.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1423, allocations: 2.622 MB / 390.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.1426, allocations: 206.7 kB / 390.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.562, allocations: 0 / 390.5 MB, free: 9.473 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat