Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.01083/0.01083, allocations: 105.9 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.001153/0.001153, allocations: 168.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.668/1.668, allocations: 170.9 MB / 187.6 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.2592/0.2592, allocations: 38.08 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1005, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002849/0.1034, allocations: 1.484 MB / 373.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1046, allocations: 499.4 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1048, allocations: 3.938 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.621e-05/0.1049, allocations: 11.92 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1051, allocations: 51.77 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1053, allocations: 19.98 kB / 374.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1056, allocations: 107.8 kB / 374.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1058, allocations: 49.77 kB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1059, allocations: 51.78 kB / 374.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1061, allocations: 51.77 kB / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1061, allocations: 12 kB / 374.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-05/0.1062, allocations: 4 kB / 374.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.1062, allocations: 19.92 kB / 374.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.1063, allocations: 49.64 kB / 374.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1065, allocations: 108 kB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1065, allocations: 0 / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1065, allocations: 3.938 kB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1065, allocations: 0 / 374.8 MB, free: 10.32 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007994/0.1073, allocations: 422.9 kB / 375.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.1074, allocations: 15.95 kB / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/0.1075, allocations: 42.56 kB / 375.3 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.1076, allocations: 15.81 kB / 375.3 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1079, allocations: 202.9 kB / 375.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1079, allocations: 8 kB / 375.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.108, allocations: 12 kB / 375.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.1084, allocations: 121.6 kB / 375.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1084, allocations: 3.906 kB / 375.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.1085, allocations: 8 kB / 375.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1085, allocations: 7.938 kB / 375.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.1088, allocations: 91.92 kB / 375.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.11, allocations: 480.1 kB / 376.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.1104, allocations: 110.5 kB / 376.3 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1104, allocations: 4 kB / 376.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.1105, allocations: 42.48 kB / 376.4 MB, free: 8.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.838e-06/0.1105, allocations: 0 / 376.4 MB, free: 8.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.002514/0.113, allocations: 0.8165 MB / 377.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1131, allocations: 51.41 kB / 377.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1133, allocations: 137.8 kB / 377.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1134, allocations: 29.7 kB / 377.4 MB, free: 7.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1135, allocations: 108.3 kB / 377.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.1136, allocations: 74.98 kB / 377.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.1136, allocations: 8 kB / 377.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1137, allocations: 322.8 kB / 377.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1139, allocations: 40.36 kB / 377.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1141, allocations: 82.53 kB / 378 MB, free: 6.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1144, allocations: 63.98 kB / 378.1 MB, free: 6.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1144, allocations: 0 / 378.1 MB, free: 6.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006942/0.1151, allocations: 210.2 kB / 378.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1152, allocations: 4 kB / 378.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1152, allocations: 0 / 378.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.1155, allocations: 48.88 kB / 378.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1158, allocations: 39.91 kB / 378.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.1181, allocations: 1.565 MB / 379.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1183, allocations: 8.438 kB / 379.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1183, allocations: 4 kB / 379.9 MB, free: 4.711 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.1185, allocations: 130.8 kB / 380.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.1186, allocations: 15.77 kB / 380.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1187, allocations: 29.23 kB / 380.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1187, allocations: 0 / 380.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.1187, allocations: 8 kB / 380.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1187, allocations: 0 / 380.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.12, allocations: 0.5529 MB / 380.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.12, allocations: 0 / 380.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.1204, allocations: 35.92 kB / 380.7 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.1206, allocations: 36.83 kB / 380.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.1206, allocations: 4 kB / 380.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.1223, allocations: 1.386 MB / 382.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1224, allocations: 0 / 382.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.1232, allocations: 369.4 kB / 382.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1234, allocations: 97.03 kB / 382.6 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1234, allocations: 4 kB / 382.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1236, allocations: 8.062 kB / 382.6 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.1237, allocations: 11.98 kB / 382.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1237, allocations: 8 kB / 382.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.1239, allocations: 107.2 kB / 382.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.1239, allocations: 3.938 kB / 382.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004871/0.1244, allocations: 44 kB / 382.8 MB, free: 1.625 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.1257, allocations: 0.9674 MB / 383.7 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.1265, allocations: 266.5 kB / 384 MB, free: 360 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.1265, allocations: 4 kB / 384 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.127, allocations: 186.6 kB / 384.2 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1274, allocations: 25.55 kB / 384.2 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.1303, allocations: 1.537 MB / 385.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1308, allocations: 0.7324 MB / 386.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1309, allocations: 13.42 kB / 386.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.131, allocations: 35.44 kB / 386.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.131, allocations: 0 / 386.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.1591, allocations: 3.005 MB / 389.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000367/0.1596, allocations: 224.5 kB / 389.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/2.782, allocations: 4 kB / 389.8 MB, free: 10.57 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat