Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004055/0.004055, allocations: 368.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.834/3.834, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003562/0.003562, allocations: 234 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5014/0.5014, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006764/0.0006769, allocations: 12.5 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1136, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002454/0.1161, allocations: 1.885 MB / 0.6819 GB, free: 39.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.118, allocations: 0.8944 MB / 0.6828 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1182, allocations: 7.938 kB / 0.6828 GB, free: 38.87 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1186, allocations: 79.56 kB / 0.6829 GB, free: 38.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1189, allocations: 67.59 kB / 0.6829 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.1196, allocations: 211.7 kB / 0.6832 GB, free: 38.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.1203, allocations: 0.5925 MB / 0.6837 GB, free: 37.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.1205, allocations: 61.23 kB / 0.6838 GB, free: 37.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.1208, allocations: 247.1 kB / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.1212, allocations: 290.9 kB / 0.6843 GB, free: 37.33 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1214, allocations: 32 kB / 0.6843 GB, free: 37.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1215, allocations: 28 kB / 0.6844 GB, free: 37.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.1217, allocations: 147.6 kB / 0.6845 GB, free: 37.13 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.1219, allocations: 93.44 kB / 0.6846 GB, free: 37.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.1223, allocations: 363.4 kB / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1223, allocations: 0 / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1223, allocations: 0 / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1223, allocations: 4 kB / 0.6849 GB, free: 36.67 MB / 346.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.003204/0.1255, allocations: 0.8926 MB / 0.6858 GB, free: 35.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.1256, allocations: 8.828 kB / 0.6858 GB, free: 35.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1259, allocations: 59.44 kB / 0.6859 GB, free: 35.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.1268, allocations: 341.3 kB / 0.6862 GB, free: 35.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007632/0.1276, allocations: 275.1 kB / 0.6865 GB, free: 34.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.1278, allocations: 39.91 kB / 0.6865 GB, free: 34.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.1326, allocations: 0.8019 MB / 0.6873 GB, free: 34.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.1327, allocations: 0 / 0.6873 GB, free: 34.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.1328, allocations: 16 kB / 0.6873 GB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1329, allocations: 8 kB / 0.6873 GB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009927/0.1428, allocations: 1.31 MB / 0.6886 GB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.1465, allocations: 1.381 MB / 0.6899 GB, free: 31.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/0.1518, allocations: 0.8944 MB / 0.6908 GB, free: 30.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/0.1546, allocations: 0.5455 MB / 0.6913 GB, free: 29.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.1547, allocations: 11.94 kB / 0.6914 GB, free: 29.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1547, allocations: 39.62 kB / 0.6914 GB, free: 29.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=64): time 3.697e-06/0.1547, allocations: 0 / 0.6914 GB, free: 29.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.1803/0.3351, allocations: 18.23 MB / 0.7092 GB, free: 11.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3352, allocations: 90.23 kB / 0.7093 GB, free: 11.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.3359, allocations: 338.8 kB / 0.7096 GB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003819/0.3363, allocations: 41.7 kB / 0.7096 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.3365, allocations: 193.3 kB / 0.7098 GB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006667/0.3372, allocations: 398.1 kB / 0.7102 GB, free: 10.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.3375, allocations: 24 kB / 0.7102 GB, free: 10.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3377, allocations: 370.7 kB / 0.7106 GB, free: 9.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009449/0.3471, allocations: 1.447 MB / 0.712 GB, free: 8.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009602/0.3568, allocations: 1.553 MB / 0.7135 GB, free: 6.953 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008847/0.3657, allocations: 1.293 MB / 0.7148 GB, free: 5.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.3658, allocations: 0 / 0.7148 GB, free: 5.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01848/0.3843, allocations: 2.991 MB / 0.7177 GB, free: 2.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.3844, allocations: 4 kB / 0.7177 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3844, allocations: 11.94 kB / 0.7177 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.3844, allocations: 4 kB / 0.7177 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00522/0.3896, allocations: 451.4 kB / 0.7181 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/0.3897, allocations: 11.92 kB / 0.7182 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/0.3935, allocations: 279.7 kB / 0.7184 GB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.3938, allocations: 35.98 kB / 0.7185 GB, free: 1.879 MB / 346.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.0006652/0.3945, allocations: 225.6 kB / 0.7187 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.3948, allocations: 59.25 kB / 0.7187 GB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3951, allocations: 107.7 kB / 0.7188 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3951, allocations: 3.984 kB / 0.7188 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3951, allocations: 4 kB / 0.7188 GB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/0.3959, allocations: 312.2 kB / 0.7191 GB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/0.3963, allocations: 20 kB / 0.7192 GB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003664/0.3999, allocations: 267.7 kB / 0.7194 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009277/0.4009, allocations: 220.7 kB / 0.7196 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3574/0.7583, allocations: 3.227 MB / 0.7228 GB, free: 47.68 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03487/0.7932, allocations: 4.813 MB / 0.7275 GB, free: 45.77 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01107/0.8044, allocations: 1.545 MB / 0.729 GB, free: 45.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006239/0.805, allocations: 243.6 kB / 0.7292 GB, free: 45.05 MB / 346.7 MB Notification: Performance of Backend: time 1.473e-06/0.8051, allocations: 0 / 0.7292 GB, free: 45.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01351/0.8186, allocations: 1.927 MB / 0.7311 GB, free: 44.28 MB / 346.7 MB Notification: Performance of SimCode: time 0.004141/0.8228, allocations: 1.555 MB / 0.7326 GB, free: 43.15 MB / 346.7 MB Notification: Performance of Templates: time 0.06271/0.8855, allocations: 24.09 MB / 0.7561 GB, free: 24.86 MB / 346.7 MB