Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.0111/0.0111, allocations: 104.5 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.00121/0.00121, allocations: 169.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.628/1.628, allocations: 170.9 MB / 187.5 MB, free: 0.8711 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.2651/0.2651, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09725, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002519/0.09983, allocations: 1.415 MB / 373.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.1003, allocations: 151.6 kB / 373.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.1004, allocations: 3.938 kB / 373.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/0.1005, allocations: 15.91 kB / 373.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1007, allocations: 59.8 kB / 373.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.1008, allocations: 23.98 kB / 374 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1011, allocations: 123.8 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1013, allocations: 57.19 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1014, allocations: 59.8 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1015, allocations: 63.7 kB / 374.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1016, allocations: 8 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.1016, allocations: 8 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.1017, allocations: 27.91 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.1017, allocations: 57.64 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.102, allocations: 131.9 kB / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.102, allocations: 0 / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.102, allocations: 0 / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.102, allocations: 0 / 374.5 MB, free: 10.65 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007013/0.1027, allocations: 431.2 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1028, allocations: 12.03 kB / 374.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.015e-05/0.1029, allocations: 46.55 kB / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.1029, allocations: 15.81 kB / 375 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1032, allocations: 210.8 kB / 375.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1032, allocations: 16.27 kB / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.1033, allocations: 23.89 kB / 375.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1037, allocations: 165.6 kB / 375.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1037, allocations: 0 / 375.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1038, allocations: 15.98 kB / 375.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1038, allocations: 7.938 kB / 375.4 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.1041, allocations: 79.95 kB / 375.5 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1053, allocations: 0.6189 MB / 376.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1056, allocations: 129.2 kB / 376.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1056, allocations: 4 kB / 376.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1057, allocations: 38.55 kB / 376.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.1057, allocations: 0 / 376.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.001167/0.1069, allocations: 385.4 kB / 376.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.107, allocations: 81.11 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1071, allocations: 130 kB / 376.8 MB, free: 8.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1072, allocations: 29.7 kB / 376.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.1073, allocations: 124.1 kB / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.1073, allocations: 55.19 kB / 377.1 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.1074, allocations: 12 kB / 377.1 MB, free: 7.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1075, allocations: 322.8 kB / 377.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1076, allocations: 39.84 kB / 377.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.1078, allocations: 97.39 kB / 377.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.108, allocations: 60.3 kB / 377.6 MB, free: 7.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.108, allocations: 0 / 377.6 MB, free: 7.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000629/0.1086, allocations: 223 kB / 377.8 MB, free: 7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1087, allocations: 4 kB / 377.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1087, allocations: 4 kB / 377.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.109, allocations: 49.69 kB / 377.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1093, allocations: 35.92 kB / 377.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.1121, allocations: 2.736 MB / 380.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1123, allocations: 15.86 kB / 380.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1124, allocations: 12.25 kB / 380.6 MB, free: 3.867 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 (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.0001698/0.1126, allocations: 137.7 kB / 380.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1126, allocations: 11.91 kB / 380.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1127, allocations: 20.61 kB / 380.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1127, allocations: 4 kB / 380.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1127, allocations: 0 / 380.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1127, allocations: 3.984 kB / 380.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.1131, allocations: 229.5 kB / 381 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1132, allocations: 4 kB / 381 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.1135, allocations: 27.98 kB / 381.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.1137, allocations: 53.62 kB / 381.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1138, allocations: 0 / 381.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.1166, allocations: 2.732 MB / 383.9 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1167, allocations: 0 / 383.9 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.1173, allocations: 382.2 kB / 384.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.1174, allocations: 88.92 kB / 384.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1175, allocations: 7.953 kB / 384.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1177, allocations: 4.062 kB / 384.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1177, allocations: 7.984 kB / 384.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1177, allocations: 4 kB / 384.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.365e-05/0.1178, allocations: 99.27 kB / 384.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1179, allocations: 0 / 384.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.1185, allocations: 55.94 kB / 384.5 MB, free: 15.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (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.001051/0.1196, allocations: 0.9878 MB / 385.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008263/0.1204, allocations: 345.2 kB / 385.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1204, allocations: 4 kB / 385.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.1209, allocations: 289.8 kB / 386.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.1214, allocations: 31.31 kB / 386.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.1249, allocations: 2.687 MB / 388.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1254, allocations: 0.732 MB / 389.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.1255, allocations: 9.422 kB / 389.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.1256, allocations: 39.44 kB / 389.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1256, allocations: 0 / 389.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1515, allocations: 3.331 MB / 392.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.1518, allocations: 224.4 kB / 393.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.61, allocations: 4.062 kB / 393.2 MB, free: 6.848 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat