Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009246/0.0009246, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009105/0.0009105, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9847/0.9847, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 434.5 kB / 260.4 MB, free: 12.63 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 330.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.844e-05, allocations: 5.547 kB / 330.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002518/0.002537, allocations: 1.677 MB / 331.8 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.002848, allocations: 103.5 kB / 331.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.002914, allocations: 0 / 331.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.002973, allocations: 15.86 kB / 331.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.003095, allocations: 31.72 kB / 331.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.003235, allocations: 35.83 kB / 332 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003364, allocations: 103.5 kB / 332.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.003492, allocations: 27.97 kB / 332.1 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.003607, allocations: 63.88 kB / 332.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.003704, allocations: 35.89 kB / 332.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.003735, allocations: 8 kB / 332.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.003755, allocations: 8 kB / 332.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.00378, allocations: 23.91 kB / 332.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.003824, allocations: 27.94 kB / 332.3 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.003968, allocations: 71.73 kB / 332.3 MB, free: 17.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.003971, allocations: 4 kB / 332.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003972, allocations: 0 / 332.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.003976, allocations: 0 / 332.3 MB, free: 17.07 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004569/0.004433, allocations: 424.5 kB / 332.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.004474, allocations: 12.03 kB / 332.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.004535, allocations: 16.84 kB / 332.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.004675, allocations: 136.5 kB / 332.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004689, allocations: 8.562 kB / 332.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.004721, allocations: 12.36 kB / 332.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.004873, allocations: 79.67 kB / 333 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.004886, allocations: 3.953 kB / 333 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.004901, allocations: 7.984 kB / 333 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.00491, allocations: 4 kB / 333 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.005005, allocations: 38.16 kB / 333.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.005456, allocations: 343.6 kB / 333.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.00562, allocations: 83.16 kB / 333.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.005676, allocations: 27.62 kB / 333.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.005685, allocations: 4.219 kB / 333.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.005707, allocations: 49.31 kB / 333.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.005709, allocations: 0 / 333.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009153/0.006624, allocations: 0.4915 MB / 334 MB, free: 15.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.006646, allocations: 67.22 kB / 334.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.006716, allocations: 173.9 kB / 334.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.006726, allocations: 25.7 kB / 334.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.00677, allocations: 146.8 kB / 334.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.006806, allocations: 63.47 kB / 334.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.006854, allocations: 39.33 kB / 334.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.006917, allocations: 0.4923 MB / 335 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.76e-05/0.006964, allocations: 23.92 kB / 335.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.007025, allocations: 47.05 kB / 335.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.00714, allocations: 83.86 kB / 335.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007141, allocations: 0 / 335.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002313/0.007373, allocations: 144.8 kB / 335.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.007388, allocations: 4 kB / 335.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.007393, allocations: 8.031 kB / 335.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.007547, allocations: 31.66 kB / 335.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.007662, allocations: 27.92 kB / 335.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.008541, allocations: 2.028 MB / 337.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.008585, allocations: 4 kB / 337.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.008596, allocations: 4 kB / 337.4 MB, free: 11.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.008659, allocations: 168.5 kB / 337.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.008696, allocations: 15.95 kB / 337.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.008721, allocations: 16.77 kB / 337.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008724, allocations: 8 kB / 337.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008729, allocations: 4 kB / 337.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008732, allocations: 0 / 337.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.009214, allocations: 475.8 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.009218, allocations: 8.094 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.009332, allocations: 20 kB / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.416e-05/0.009406, allocations: 23.75 kB / 338.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.00942, allocations: 8 kB / 338.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005988/0.01002, allocations: 1.732 MB / 339.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01002, allocations: 8.031 kB / 339.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.01029, allocations: 325.3 kB / 340.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.0103, allocations: 11.89 kB / 340.2 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.01032, allocations: 8 kB / 340.3 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.0104, allocations: 0 / 340.3 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.01043, allocations: 11.98 kB / 340.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.01043, allocations: 4 kB / 340.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.915e-05/0.01046, allocations: 131.2 kB / 340.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01046, allocations: 3.938 kB / 340.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.01082, allocations: 40.03 kB / 340.4 MB, free: 8.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.388e-05/0.0109, allocations: 95.19 kB / 340.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.01126, allocations: 265.3 kB / 340.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01126, allocations: 0 / 340.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.01141, allocations: 221.5 kB / 341 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.01176, allocations: 28.83 kB / 341 MB, free: 7.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.0123, allocations: 347.2 kB / 341.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01234, allocations: 71.7 kB / 341.4 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.299e-05/0.0124, allocations: 12.64 kB / 341.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.01243, allocations: 16.5 kB / 341.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01243, allocations: 0 / 341.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of Templates: time 0.004131/0.01656, allocations: 1.505 MB / 343 MB, free: 5.742 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.536603451706469]