Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 99.08 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003341/0.003341, allocations: 0.5624 MB / 340.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 47.98 kB / 400.9 MB, free: 66.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1036, allocations: 49.6 MB / 450.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001839/0.1055, allocations: 0.5676 MB / 451.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001538/0.1056, allocations: 23.89 kB / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.1057, allocations: 0 / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1057, allocations: 0 / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.1058, allocations: 7.938 kB / 451.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1059, allocations: 12 kB / 451.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.106, allocations: 19.97 kB / 451.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.106, allocations: 0 / 451.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.106, allocations: 7.938 kB / 451.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.1061, allocations: 15.92 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1061, allocations: 0 / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-06/0.1062, allocations: 0 / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1062, allocations: 4 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.1062, allocations: 11.92 kB / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.119e-05/0.1063, allocations: 23.84 kB / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1063, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1063, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1063, allocations: 0 / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000343/0.1066, allocations: 331.8 kB / 451.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1067, allocations: 8.031 kB / 451.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1067, allocations: 4.938 kB / 451.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.1068, allocations: 168.3 kB / 451.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1069, allocations: 8.375 kB / 451.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.1069, allocations: 16.27 kB / 451.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.107, allocations: 44.61 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.107, allocations: 8.172 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.107, allocations: 3.938 kB / 451.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1071, allocations: 0 / 451.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.1071, allocations: 15.98 kB / 451.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.1074, allocations: 278.7 kB / 452.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1076, allocations: 54.44 kB / 452.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.1076, allocations: 12.95 kB / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1076, allocations: 3.984 kB / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.1076, allocations: 34.56 kB / 452.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1076, allocations: 0 / 452.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004019/0.108, allocations: 155.6 kB / 452.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.1081, allocations: 59.39 kB / 452.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.556e-05/0.1082, allocations: 97.8 kB / 452.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.1082, allocations: 29.7 kB / 452.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.1082, allocations: 88.05 kB / 452.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1082, allocations: 15.73 kB / 452.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1083, allocations: 21.72 kB / 452.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.1083, allocations: 322.8 kB / 453 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.1084, allocations: 7.984 kB / 453 MB, free: 13.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.1084, allocations: 25.72 kB / 453 MB, free: 13.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1085, allocations: 33.66 kB / 453 MB, free: 13.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1085, allocations: 0 / 453 MB, free: 13.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001309/0.1086, allocations: 78.47 kB / 453.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1086, allocations: 4 kB / 453.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1086, allocations: 0 / 453.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.1088, allocations: 20.88 kB / 453.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1089, allocations: 8 kB / 453.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.1096, allocations: 1.257 MB / 454.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.1097, allocations: 4 kB / 454.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1097, allocations: 0 / 454.4 MB, free: 12.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 5.541e-05/0.1097, allocations: 109.8 kB / 454.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1098, allocations: 3.938 kB / 454.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.1098, allocations: 11.56 kB / 454.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1098, allocations: 4 kB / 454.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1098, allocations: 4 kB / 454.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1098, allocations: 4.094 kB / 454.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.11, allocations: 157.7 kB / 454.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.11, allocations: 7.984 kB / 454.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.11, allocations: 0 / 454.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.857e-05/0.1101, allocations: 20.78 kB / 454.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1101, allocations: 7.938 kB / 454.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005945/0.1107, allocations: 1.245 MB / 456 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1107, allocations: 0 / 456 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.1122, allocations: 2.385 MB / 458.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.1122, allocations: 81.11 kB / 458.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.1122, allocations: 0 / 458.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1123, allocations: 0 / 458.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.1124, allocations: 12.17 kB / 458.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1124, allocations: 4 kB / 458.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.111e-05/0.1124, allocations: 79.28 kB / 458.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1124, allocations: 0 / 458.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004749/0.1129, allocations: 12 kB / 458.6 MB, free: 7.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.432e-05/0.113, allocations: 91.25 kB / 458.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1132, allocations: 146.5 kB / 458.8 MB, free: 7.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1132, allocations: 4.062 kB / 458.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1134, allocations: 126.7 kB / 458.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1137, allocations: 8.594 kB / 458.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.114, allocations: 375.4 kB / 459.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.1142, allocations: 0.6926 MB / 460 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.738e-05/0.1142, allocations: 0 / 460 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.1142, allocations: 7.438 kB / 460 MB, free: 6.031 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1142, allocations: 0 / 460 MB, free: 6.031 MB / 298.7 MB Notification: Performance of Templates: time 0.00307/0.1173, allocations: 0.7392 MB / 460.7 MB, free: 5.336 MB / 298.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)