Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01779/0.01779, allocations: 108.5 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.2.mo): time 0.001622/0.001623, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.968/1.968, allocations: 194.5 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3355/0.3355, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001094, allocations: 12 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 54.89 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003056/0.1246, allocations: 1.856 MB / 417.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1269, allocations: 0.8984 MB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1272, allocations: 7.938 kB / 418.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1275, allocations: 71.59 kB / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1279, allocations: 79.73 kB / 418.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008342/0.1287, allocations: 211.6 kB / 419.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.1295, allocations: 403.3 kB / 419.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.1297, allocations: 65.22 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.1302, allocations: 251.2 kB / 419.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1307, allocations: 283 kB / 420.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1308, allocations: 28 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1309, allocations: 36 kB / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.1312, allocations: 151.5 kB / 420.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1313, allocations: 85.52 kB / 420.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.1318, allocations: 367.3 kB / 420.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1318, allocations: 0 / 420.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1318, allocations: 0 / 420.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1319, allocations: 0 / 420.8 MB, free: 13.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00351/0.1354, allocations: 0.9004 MB / 421.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1354, allocations: 8.031 kB / 421.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.1356, allocations: 86.52 kB / 421.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1358, allocations: 59.44 kB / 421.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/0.1364, allocations: 337.3 kB / 422.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005667/0.137, allocations: 279.1 kB / 422.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1372, allocations: 36 kB / 422.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.1408, allocations: 0.798 MB / 423.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1409, allocations: 0 / 423.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.141, allocations: 16 kB / 423.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.141, allocations: 8 kB / 423.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00693/0.148, allocations: 1.306 MB / 424.6 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.1525, allocations: 1.389 MB / 426 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005833/0.1584, allocations: 0.9026 MB / 426.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1586, allocations: 4 kB / 426.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.1586, allocations: 42.5 kB / 426.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=64): time 3.426e-06/0.1586, allocations: 0 / 426.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.1888/0.3475, allocations: 18.21 MB / 445.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.3476, allocations: 94.17 kB / 445.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/0.3483, allocations: 342.8 kB / 445.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.3486, allocations: 45.7 kB / 445.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3488, allocations: 193.4 kB / 445.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006465/0.3495, allocations: 402.1 kB / 446.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.3497, allocations: 20 kB / 446.2 MB, free: 3.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.35, allocations: 362.8 kB / 446.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007396/0.3574, allocations: 1.447 MB / 448 MB, free: 2.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/0.3649, allocations: 1.541 MB / 449.5 MB, free: 488 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3133/0.6783, allocations: 1.29 MB / 450.8 MB, free: 61.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6783, allocations: 0 / 450.8 MB, free: 61.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01451/0.6929, allocations: 2.996 MB / 453.8 MB, free: 61.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.693, allocations: 2.938 kB / 453.8 MB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.693, allocations: 2.781 kB / 453.8 MB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/0.693, allocations: 9 kB / 453.9 MB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/0.6984, allocations: 458.5 kB / 454.3 MB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.051e-05/0.6985, allocations: 3.25 kB / 454.3 MB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.7024, allocations: 279.1 kB / 454.6 MB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/0.7028, allocations: 43.06 kB / 454.6 MB, free: 61.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007322/0.7035, allocations: 214.6 kB / 454.8 MB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.7039, allocations: 59.78 kB / 454.9 MB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.7043, allocations: 112.8 kB / 455 MB, free: 61.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.7043, allocations: 12.59 kB / 455 MB, free: 61.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.7043, allocations: 3.688 kB / 455 MB, free: 61.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.7043, allocations: 6.656 kB / 455 MB, free: 61.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/0.7254, allocations: 5.537 MB / 460.6 MB, free: 59.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-05/0.7255, allocations: 19.91 kB / 460.6 MB, free: 59.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/0.7286, allocations: 409.2 kB / 461 MB, free: 59.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-05/0.7287, allocations: 36.97 kB / 461 MB, free: 59.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.7289, allocations: 47.28 kB / 461.1 MB, free: 59.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-05/0.7289, allocations: 42.42 kB / 461.1 MB, free: 59.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.293e-05/0.729, allocations: 31 kB / 461.1 MB, free: 59.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.7429, allocations: 4.498 MB / 465.6 MB, free: 55.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.7435, allocations: 231.5 kB / 465.8 MB, free: 55.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.7437, allocations: 52.55 kB / 465.9 MB, free: 55.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/0.7461, allocations: 252.4 kB / 466.1 MB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/0.7468, allocations: 237.6 kB / 466.4 MB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.747, allocations: 58.38 kB / 466.4 MB, free: 55.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003376/0.7473, allocations: 233.1 kB / 466.7 MB, free: 55.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7473, allocations: 4 kB / 466.7 MB, free: 55.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001471/0.7488, allocations: 227 kB / 466.9 MB, free: 55.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01545/0.7643, allocations: 11.49 MB / 478.4 MB, free: 45.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/0.776, allocations: 2.537 MB / 480.9 MB, free: 44.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.142e-05/0.776, allocations: 3.125 kB / 480.9 MB, free: 44.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006581/0.7826, allocations: 1.193 MB / 482.1 MB, free: 43.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7841, allocations: 134.4 kB / 482.2 MB, free: 43.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.8151, allocations: 8.693 MB / 490.9 MB, free: 38.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.8157, allocations: 0.9254 MB / 491.9 MB, free: 38.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002251/0.818, allocations: 189.7 kB / 492 MB, free: 38.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/0.8192, allocations: 201.5 kB / 492.2 MB, free: 38.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8193, allocations: 0 / 492.2 MB, free: 38.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/0.8829, allocations: 19.31 MB / 0.4996 GB, free: 29.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.8831, allocations: 170.9 kB / 0.4997 GB, free: 29.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.258, allocations: 0 / 0.4997 GB, free: 29.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat