Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002747/0.002753, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.99/3.99, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003469/0.003469, allocations: 216.9 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.5121/0.5121, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004609, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.5845, allocations: 79.77 MB / 0.758 GB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.585, allocations: 67.03 kB / 0.758 GB, free: 5.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00862/0.5936, allocations: 1.956 MB / 0.76 GB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5937, allocations: 0 / 0.76 GB, free: 3.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.5937, allocations: 4 kB / 0.76 GB, free: 3.855 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005203/0.5942, allocations: 381.6 kB / 0.7603 GB, free: 3.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5943, allocations: 15.97 kB / 0.7603 GB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.5944, allocations: 11.86 kB / 0.7603 GB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.5945, allocations: 178.9 kB / 0.7605 GB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.5946, allocations: 7.734 kB / 0.7605 GB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.5946, allocations: 19.03 kB / 0.7605 GB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.595, allocations: 131.3 kB / 0.7607 GB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.595, allocations: 4 kB / 0.7607 GB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5951, allocations: 3.375 kB / 0.7607 GB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.5951, allocations: 4 kB / 0.7607 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.5953, allocations: 59.22 kB / 0.7607 GB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.5965, allocations: 0.5412 MB / 0.7613 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.5967, allocations: 92.34 kB / 0.7614 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.191e-05/0.5968, allocations: 25.28 kB / 0.7614 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5968, allocations: 0 / 0.7614 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5969, allocations: 38.64 kB / 0.7614 GB, free: 2.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.003e-06/0.5969, allocations: 0 / 0.7614 GB, free: 2.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009719/0.5979, allocations: 301.9 kB / 0.7617 GB, free: 2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.5979, allocations: 77.66 kB / 0.7618 GB, free: 1.906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5981, allocations: 135.4 kB / 0.7619 GB, free: 1.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5981, allocations: 33.58 kB / 0.7619 GB, free: 1.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.5982, allocations: 118.6 kB / 0.7621 GB, free: 1.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.5982, allocations: 30.98 kB / 0.7621 GB, free: 1.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.5983, allocations: 3.438 kB / 0.7621 GB, free: 1.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.5984, allocations: 318.3 kB / 0.7624 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.5985, allocations: 22.61 kB / 0.7624 GB, free: 1.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.5986, allocations: 83.58 kB / 0.7625 GB, free: 1.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.5988, allocations: 42.98 kB / 0.7625 GB, free: 1.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5988, allocations: 4 kB / 0.7625 GB, free: 1.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005664/0.5994, allocations: 169.4 kB / 0.7627 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5994, allocations: 4 kB / 0.7627 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.5994, allocations: 4 kB / 0.7627 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.5997, allocations: 36.64 kB / 0.7627 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.6001, allocations: 26.98 kB / 0.7628 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.6031, allocations: 2.535 MB / 0.7652 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.6033, allocations: 7.906 kB / 0.7652 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.6034, allocations: 7.375 kB / 0.7653 GB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002075/0.6036, allocations: 132 kB / 0.7654 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6037, allocations: 7.906 kB / 0.7654 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.6038, allocations: 15.05 kB / 0.7654 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.6038, allocations: 4 kB / 0.7654 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6038, allocations: 0.875 kB / 0.7654 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.6039, allocations: 96 / 0.7654 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.6044, allocations: 207.4 kB / 0.7656 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6045, allocations: 3.984 kB / 0.7656 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.6047, allocations: 12 kB / 0.7656 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.605, allocations: 32.45 kB / 0.7657 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.605, allocations: 5.875 kB / 0.7657 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003101/0.6081, allocations: 2.532 MB / 0.7681 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.6082, allocations: 4.031 kB / 0.7681 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.6088, allocations: 305.7 kB / 0.7684 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.6089, allocations: 88.95 kB / 0.7685 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.6089, allocations: 4.031 kB / 0.7685 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.6091, allocations: 0 / 0.7685 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.6092, allocations: 15.77 kB / 0.7685 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.6092, allocations: 4 kB / 0.7685 GB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.849e-05/0.6093, allocations: 94.7 kB / 0.7686 GB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6094, allocations: 0 / 0.7686 GB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008366/0.6102, allocations: 38.28 kB / 0.7687 GB, free: 10.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.6104, allocations: 107.2 kB / 0.7688 GB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.6111, allocations: 292.3 kB / 0.769 GB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6111, allocations: 3.938 kB / 0.769 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.6116, allocations: 260.5 kB / 0.7693 GB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.6127, allocations: 24.59 kB / 0.7693 GB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.6144, allocations: 0.5722 MB / 0.7699 GB, free: 9.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.6149, allocations: 0.7161 MB / 0.7706 GB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.299e-05/0.615, allocations: 4.891 kB / 0.7706 GB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.615, allocations: 15.44 kB / 0.7706 GB, free: 8.441 MB / 362.7 MB Notification: Performance of SimCode: time 1.532e-06/0.6151, allocations: 0 / 0.7706 GB, free: 8.441 MB / 362.7 MB Notification: Performance of Templates: time 0.007695/0.6228, allocations: 1.397 MB / 0.772 GB, free: 7.066 MB / 362.7 MB