Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.644e-05, allocations: 3.938 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3375, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4832, allocations: 79.32 MB / 437.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4835, allocations: 75.89 kB / 437.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.4936, allocations: 2.52 MB / 440 MB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4936, allocations: 0 / 440 MB, free: 12.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4936, allocations: 4 kB / 440 MB, free: 12.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006134/0.4943, allocations: 406.5 kB / 440.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.4943, allocations: 12.02 kB / 440.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.4944, allocations: 27.67 kB / 440.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.4946, allocations: 174.9 kB / 440.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4946, allocations: 12 kB / 440.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.4947, allocations: 8 kB / 440.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/0.4949, allocations: 72.64 kB / 440.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.4953, allocations: 149.3 kB / 440.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.4953, allocations: 3.906 kB / 440.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.4954, allocations: 0 / 440.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.4954, allocations: 7.953 kB / 440.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4965, allocations: 0.5688 MB / 441.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.4968, allocations: 121.2 kB / 441.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.497, allocations: 49.84 kB / 441.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.497, allocations: 4 kB / 441.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.497, allocations: 30.56 kB / 441.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.146e-06/0.497, allocations: 0 / 441.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005356/0.4976, allocations: 143.1 kB / 441.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4977, allocations: 77.11 kB / 441.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4978, allocations: 122.8 kB / 442 MB, free: 10.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4978, allocations: 25.7 kB / 442 MB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.498, allocations: 198.4 kB / 442.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.498, allocations: 55.19 kB / 442.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.498, allocations: 0 / 442.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4982, allocations: 318.8 kB / 442.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.4983, allocations: 35.86 kB / 442.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4984, allocations: 97.39 kB / 442.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.4986, allocations: 55.84 kB / 442.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4986, allocations: 4 kB / 442.8 MB, free: 9.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005378/0.4991, allocations: 191.1 kB / 443 MB, free: 9.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4992, allocations: 4 kB / 443 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4992, allocations: 4 kB / 443 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.4995, allocations: 49.69 kB / 443 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.4997, allocations: 43.88 kB / 443.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.5023, allocations: 2.61 MB / 445.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.5025, allocations: 11.84 kB / 445.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.5025, allocations: 12 kB / 445.7 MB, free: 6.652 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.5026, allocations: 115 kB / 445.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004506/0.5031, allocations: 147.1 kB / 445.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.5032, allocations: 11.91 kB / 446 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.331e-05/0.5033, allocations: 12.62 kB / 446 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.5033, allocations: 4 kB / 446 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5034, allocations: 3.953 kB / 446 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5034, allocations: 0 / 446 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.5039, allocations: 198.1 kB / 446.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.504, allocations: 0 / 446.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.5044, allocations: 32.12 kB / 446.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.5047, allocations: 45.69 kB / 446.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.5048, allocations: 0 / 446.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.5083, allocations: 2.614 MB / 448.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.5084, allocations: 7.938 kB / 448.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008109/0.5092, allocations: 374.4 kB / 449.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.5093, allocations: 81.02 kB / 449.3 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5094, allocations: 7.938 kB / 449.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.5097, allocations: 144 / 449.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.5097, allocations: 16.03 kB / 449.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.5098, allocations: 7.984 kB / 449.3 MB, free: 2.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.5099, allocations: 92.97 kB / 449.4 MB, free: 2.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5099, allocations: 0 / 449.4 MB, free: 2.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001135/0.5111, allocations: 55.8 kB / 449.5 MB, free: 2.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/0.5124, allocations: 0.9672 MB / 450.5 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008667/0.5133, allocations: 315.6 kB / 450.8 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5133, allocations: 0 / 450.8 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.5139, allocations: 268 kB / 451 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.5146, allocations: 29.61 kB / 451.1 MB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.517, allocations: 0.6273 MB / 451.7 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.5175, allocations: 0.7282 MB / 452.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5176, allocations: 43.42 kB / 452.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5177, allocations: 4 kB / 452.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.265, allocations: 3.713 MB / 456.2 MB, free: 11.69 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat