Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002963/0.002967, allocations: 359.2 kB / 15.95 MB, free: 6.207 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 4.388/4.388, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.003762/0.003762, allocations: 244.5 kB / 451 MB, free: 145 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.663/0.663, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007501/0.0007506, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1072, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.598, allocations: 82.44 MB / 0.7606 GB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.5983, allocations: 69.84 kB / 0.7606 GB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.6177, allocations: 4.536 MB / 0.7651 GB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6177, allocations: 0 / 0.7651 GB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.6177, allocations: 7.938 kB / 0.7651 GB, free: 15.06 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009589/0.6187, allocations: 493.4 kB / 0.7656 GB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6188, allocations: 12.5 kB / 0.7656 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.6189, allocations: 31.67 kB / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.6192, allocations: 223.1 kB / 0.7658 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.6192, allocations: 18.56 kB / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.6193, allocations: 25.97 kB / 0.7659 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.6198, allocations: 217.5 kB / 0.7661 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.6199, allocations: 0 / 0.7661 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.6199, allocations: 10.25 kB / 0.7661 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6199, allocations: 4 kB / 0.7661 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.6203, allocations: 140.6 kB / 0.7662 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.6223, allocations: 0.9884 MB / 0.7672 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.6229, allocations: 229.9 kB / 0.7674 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.623, allocations: 80.28 kB / 0.7675 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.6231, allocations: 4.469 kB / 0.7675 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.6231, allocations: 45.69 kB / 0.7675 GB, free: 12.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.136e-06/0.6232, allocations: 0 / 0.7675 GB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001905/0.6251, allocations: 1.002 MB / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6252, allocations: 136.5 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.6255, allocations: 187.4 kB / 0.7688 GB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.6255, allocations: 28.83 kB / 0.7688 GB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.6256, allocations: 153 kB / 0.769 GB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6258, allocations: 107.8 kB / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.6258, allocations: 6.812 kB / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.626, allocations: 337.4 kB / 0.7694 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.6261, allocations: 65.84 kB / 0.7695 GB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.6265, allocations: 186.3 kB / 0.7696 GB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.6267, allocations: 101.2 kB / 0.7697 GB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6267, allocations: 0 / 0.7697 GB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007294/0.6275, allocations: 313.8 kB / 0.77 GB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6275, allocations: 4 kB / 0.77 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6275, allocations: 4 kB / 0.7701 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.6276, allocations: 8 kB / 0.7701 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.6282, allocations: 85.89 kB / 0.7701 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.6282, allocations: 11.94 kB / 0.7702 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.6284, allocations: 7.734 kB / 0.7702 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.6285, allocations: 23.42 kB / 0.7702 GB, free: 10.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 45 * 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.0002078/0.6287, allocations: 139.3 kB / 0.7703 GB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.6288, allocations: 31.61 kB / 0.7703 GB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.6292, allocations: 116.5 kB / 0.7705 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.6292, allocations: 8 kB / 0.7705 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6293, allocations: 0 / 0.7705 GB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6293, allocations: 4 kB / 0.7705 GB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.6309, allocations: 0.7713 MB / 0.7712 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.631, allocations: 4 kB / 0.7712 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.6316, allocations: 66.28 kB / 0.7713 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6316, allocations: 8 kB / 0.7713 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.6317, allocations: 14.67 kB / 0.7713 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.6317, allocations: 4 kB / 0.7713 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.6317, allocations: 7.938 kB / 0.7713 GB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.6326, allocations: 0.627 MB / 0.7719 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6327, allocations: 100.8 kB / 0.772 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.6328, allocations: 10.19 kB / 0.772 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.6332, allocations: 7.312 kB / 0.772 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.6332, allocations: 26.92 kB / 0.7721 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.6333, allocations: 8 kB / 0.7721 GB, free: 8.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.6335, allocations: 141.2 kB / 0.7722 GB, free: 8.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6335, allocations: 0 / 0.7722 GB, free: 8.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006769/0.6342, allocations: 59.06 kB / 0.7723 GB, free: 7.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (29): * Single equations (assignments): 29 * 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.0001871/0.6344, allocations: 118 kB / 0.7724 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.6349, allocations: 191.6 kB / 0.7726 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.635, allocations: 0 / 0.7726 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.6352, allocations: 94.72 kB / 0.7727 GB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6363, allocations: 60.77 kB / 0.7727 GB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.6388, allocations: 1.081 MB / 0.7738 GB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.6393, allocations: 0.756 MB / 0.7745 GB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.6395, allocations: 26.28 kB / 0.7745 GB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.6396, allocations: 23.44 kB / 0.7746 GB, free: 5.688 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6396, allocations: 96 / 0.7746 GB, free: 5.688 MB / 362.7 MB Notification: Performance of Templates: time 0.00782/0.6475, allocations: 2.002 MB / 0.7765 GB, free: 3.723 MB / 362.7 MB