Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002686/0.002691, allocations: 363.4 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.156/4.156, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003582/0.003582, allocations: 231 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.5536/0.5536, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006946/0.000695, allocations: 20 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1354, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5332/0.6687, allocations: 81.88 MB / 0.76 GB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.669, allocations: 73.64 kB / 0.7601 GB, free: 3.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02423/0.6932, allocations: 5.766 MB / 0.7657 GB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6933, allocations: 0 / 0.7657 GB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.6933, allocations: 8 kB / 0.7658 GB, free: 14.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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001286/0.6946, allocations: 0.5873 MB / 0.7663 GB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6947, allocations: 8.031 kB / 0.7663 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.6949, allocations: 39.53 kB / 0.7664 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.6953, allocations: 263.3 kB / 0.7666 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.6953, allocations: 27.23 kB / 0.7667 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6954, allocations: 45.59 kB / 0.7667 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009438/0.6964, allocations: 396.1 kB / 0.7671 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.6964, allocations: 4 kB / 0.7671 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.6965, allocations: 17.81 kB / 0.7671 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.6966, allocations: 11.94 kB / 0.7671 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.6973, allocations: 238.6 kB / 0.7673 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.7006, allocations: 1.716 MB / 0.769 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.7013, allocations: 264.7 kB / 0.7693 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.7016, allocations: 96.67 kB / 0.7694 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.7017, allocations: 11.92 kB / 0.7694 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.7017, allocations: 42.25 kB / 0.7694 GB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.7017, allocations: 0 / 0.7694 GB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001091/0.7028, allocations: 275 kB / 0.7697 GB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.703, allocations: 216.4 kB / 0.7699 GB, free: 10.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.7034, allocations: 268.4 kB / 0.7701 GB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.7035, allocations: 33.2 kB / 0.7702 GB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.7037, allocations: 241.5 kB / 0.7704 GB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.7039, allocations: 118.1 kB / 0.7705 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.7039, allocations: 9.688 kB / 0.7705 GB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.7042, allocations: 347.3 kB / 0.7708 GB, free: 9.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.7046, allocations: 97.02 kB / 0.7709 GB, free: 9.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.7053, allocations: 431.2 kB / 0.7713 GB, free: 9.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.7058, allocations: 172.2 kB / 0.7715 GB, free: 9.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.7058, allocations: 4 kB / 0.7715 GB, free: 9.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001391/0.7072, allocations: 0.5296 MB / 0.772 GB, free: 8.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.7073, allocations: 12 kB / 0.772 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.7073, allocations: 8 kB / 0.7721 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.7074, allocations: 20.75 kB / 0.7721 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.7082, allocations: 160.1 kB / 0.7722 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.473e-05/0.7083, allocations: 23.83 kB / 0.7722 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.7088, allocations: 70.73 kB / 0.7723 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.7089, allocations: 31.06 kB / 0.7723 GB, free: 8.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002991/0.7092, allocations: 175.4 kB / 0.7725 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.7095, allocations: 27.72 kB / 0.7725 GB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.7096, allocations: 39.66 kB / 0.7726 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.7096, allocations: 12 kB / 0.7726 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7096, allocations: 0 / 0.7726 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.7096, allocations: 11.94 kB / 0.7726 GB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.7117, allocations: 0.6409 MB / 0.7732 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.7118, allocations: 0 / 0.7732 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7128, allocations: 95.81 kB / 0.7733 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.7128, allocations: 4 kB / 0.7733 GB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.7129, allocations: 11.39 kB / 0.7733 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/0.7129, allocations: 7.938 kB / 0.7733 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7129, allocations: 0 / 0.7733 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.7142, allocations: 0.8417 MB / 0.7742 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.7144, allocations: 116.6 kB / 0.7743 GB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.506e-05/0.7145, allocations: 11.38 kB / 0.7743 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.715, allocations: 11.77 kB / 0.7743 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.7151, allocations: 23.16 kB / 0.7743 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.7151, allocations: 8 kB / 0.7743 GB, free: 6.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.7154, allocations: 188.8 kB / 0.7745 GB, free: 6.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7154, allocations: 0 / 0.7745 GB, free: 6.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001044/0.7165, allocations: 102.4 kB / 0.7746 GB, free: 6.121 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0002293/0.7167, allocations: 107.1 kB / 0.7747 GB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009592/0.7177, allocations: 299.3 kB / 0.775 GB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7177, allocations: 4.125 kB / 0.775 GB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.718, allocations: 89.55 kB / 0.7751 GB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.7195, allocations: 73.78 kB / 0.7751 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.7237, allocations: 1.901 MB / 0.777 GB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.7242, allocations: 0.8043 MB / 0.7778 GB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.7246, allocations: 43.27 kB / 0.7778 GB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7248, allocations: 27.44 kB / 0.7779 GB, free: 2.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7248, allocations: 0 / 0.7779 GB, free: 2.852 MB / 362.7 MB Notification: Performance of Templates: time 0.0103/0.7351, allocations: 2.667 MB / 0.7805 GB, free: 228 kB / 362.7 MB