Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002692/0.002692, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.649/3.649, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003671/0.003671, allocations: 225.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4706/0.4706, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007651/0.0007657, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1187, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002989/0.1217, allocations: 1.865 MB / 0.6086 GB, free: 2.781 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.124, allocations: 0.8855 MB / 0.6094 GB, free: 1.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.1243, allocations: 7.938 kB / 0.6094 GB, free: 1.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.1247, allocations: 79.56 kB / 0.6095 GB, free: 1.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.125, allocations: 75.59 kB / 0.6096 GB, free: 1.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.1258, allocations: 203.7 kB / 0.6098 GB, free: 1.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.2617/0.3875, allocations: 0.5914 MB / 0.6103 GB, free: 88.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3878, allocations: 62.02 kB / 0.6104 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.3884, allocations: 247.3 kB / 0.6106 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.389, allocations: 289.3 kB / 0.6109 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.3892, allocations: 31.55 kB / 0.6109 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3893, allocations: 30 kB / 0.611 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.3896, allocations: 149.3 kB / 0.6111 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3897, allocations: 89.28 kB / 0.6112 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.3904, allocations: 364.3 kB / 0.6115 GB, free: 88.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3905, allocations: 0 / 0.6115 GB, free: 88.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3905, allocations: 2.969 kB / 0.6116 GB, free: 88.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3905, allocations: 0 / 0.6116 GB, free: 88.64 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.003907/0.3944, allocations: 0.8933 MB / 0.6124 GB, free: 88.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3945, allocations: 8.75 kB / 0.6124 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.3948, allocations: 58.53 kB / 0.6125 GB, free: 88.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.3955, allocations: 345.4 kB / 0.6128 GB, free: 87.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005687/0.3961, allocations: 271.7 kB / 0.6131 GB, free: 87.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3963, allocations: 41.02 kB / 0.6131 GB, free: 87.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/0.4005, allocations: 0.8042 MB / 0.6139 GB, free: 87.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.4006, allocations: 1.594 kB / 0.6139 GB, free: 87.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.4007, allocations: 23.05 kB / 0.6139 GB, free: 87.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4007, allocations: 9.781 kB / 0.6139 GB, free: 87.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008048/0.4087, allocations: 1.3 MB / 0.6152 GB, free: 87.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.4135, allocations: 1.388 MB / 0.6166 GB, free: 87.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/0.4199, allocations: 0.8905 MB / 0.6174 GB, free: 87.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004271/0.4242, allocations: 0.5456 MB / 0.618 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.4245, allocations: 13.25 kB / 0.618 GB, free: 87.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.4245, allocations: 41.98 kB / 0.618 GB, free: 87.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=64): time 5.53e-06/0.4246, allocations: 0 / 0.618 GB, free: 87.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.227/0.6516, allocations: 18.21 MB / 0.6358 GB, free: 81.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.6517, allocations: 90.23 kB / 0.6359 GB, free: 81.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.6523, allocations: 334.9 kB / 0.6362 GB, free: 80.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/0.6527, allocations: 45.7 kB / 0.6362 GB, free: 80.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.6529, allocations: 198.9 kB / 0.6364 GB, free: 80.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.6534, allocations: 400.2 kB / 0.6368 GB, free: 80.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.6536, allocations: 24 kB / 0.6368 GB, free: 80.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6538, allocations: 362.8 kB / 0.6372 GB, free: 79.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006914/0.6607, allocations: 1.448 MB / 0.6386 GB, free: 78.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007066/0.6678, allocations: 1.553 MB / 0.6401 GB, free: 76.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006488/0.6743, allocations: 1.286 MB / 0.6414 GB, free: 75.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.6744, allocations: 3.984 kB / 0.6414 GB, free: 75.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01445/0.6889, allocations: 2.996 MB / 0.6443 GB, free: 72.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.689, allocations: 7.75 kB / 0.6443 GB, free: 72.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.689, allocations: 4 kB / 0.6443 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.689, allocations: 7.953 kB / 0.6443 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/0.6946, allocations: 463.4 kB / 0.6448 GB, free: 72.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-05/0.6947, allocations: 7.984 kB / 0.6448 GB, free: 72.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.6987, allocations: 271.7 kB / 0.645 GB, free: 71.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.6991, allocations: 39.98 kB / 0.6451 GB, free: 71.82 MB / 362.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.0007211/0.6999, allocations: 219.7 kB / 0.6453 GB, free: 71.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.7002, allocations: 59.25 kB / 0.6453 GB, free: 71.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.7005, allocations: 103.7 kB / 0.6454 GB, free: 71.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.7006, allocations: 8.734 kB / 0.6454 GB, free: 71.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7006, allocations: 4 kB / 0.6454 GB, free: 71.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.7014, allocations: 316.2 kB / 0.6457 GB, free: 71.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/0.7018, allocations: 20 kB / 0.6458 GB, free: 71.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/0.7059, allocations: 271.7 kB / 0.646 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/0.7071, allocations: 216.7 kB / 0.6462 GB, free: 70.61 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02125/0.7284, allocations: 3.228 MB / 0.6494 GB, free: 67.39 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02977/0.7582, allocations: 4.83 MB / 0.6541 GB, free: 62.54 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009478/0.7677, allocations: 1.543 MB / 0.6556 GB, free: 61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005151/0.7683, allocations: 233.9 kB / 0.6558 GB, free: 60.77 MB / 362.7 MB Notification: Performance of Backend: time 7.31e-07/0.7683, allocations: 0 / 0.6558 GB, free: 60.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/0.7799, allocations: 1.93 MB / 0.6577 GB, free: 58.83 MB / 362.7 MB Notification: Performance of SimCode: time 0.003834/0.7838, allocations: 1.55 MB / 0.6592 GB, free: 57.24 MB / 362.7 MB Notification: Performance of Templates: time 0.05467/0.8385, allocations: 24.08 MB / 0.6827 GB, free: 33.33 MB / 362.7 MB