Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.001385/0.001385, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001518/0.001518, allocations: 215.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.003031/0.003031, allocations: 0.5781 MB / 313.8 MB, free: 2.324 MB / 238.1 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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.83 kB / 436.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09088, allocations: 53.54 MB / 489.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001675/0.09256, allocations: 0.5071 MB / 490.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.09272, allocations: 23.91 kB / 490.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.09275, allocations: 0 / 490.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.09276, allocations: 7.938 kB / 490.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.0928, allocations: 3.938 kB / 490.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.09291, allocations: 11.97 kB / 490.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.09296, allocations: 12 kB / 490.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.09301, allocations: 4.391 kB / 490.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.09303, allocations: 8 kB / 490.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.09309, allocations: 11.92 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.0931, allocations: 0 / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.09312, allocations: 4 kB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.09313, allocations: 7.922 kB / 490.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.09316, allocations: 12 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.09322, allocations: 15.86 kB / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09322, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09322, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.09323, allocations: 0 / 490.5 MB, free: 10.14 MB / 350.1 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.0003883/0.09362, allocations: 254.4 kB / 490.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.09365, allocations: 15.95 kB / 490.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.09369, allocations: 4.938 kB / 490.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.09379, allocations: 106.5 kB / 490.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.09381, allocations: 4.375 kB / 490.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.09383, allocations: 4.375 kB / 490.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.09394, allocations: 50.25 kB / 490.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09395, allocations: 4.188 kB / 490.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.09396, allocations: 7.938 kB / 491 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.09396, allocations: 0 / 491 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.09401, allocations: 11.98 kB / 491 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.09437, allocations: 224.3 kB / 491.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.09448, allocations: 46.56 kB / 491.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.0945, allocations: 12.8 kB / 491.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.09451, allocations: 0 / 491.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.09454, allocations: 38.56 kB / 491.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.09454, allocations: 4 kB / 491.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003551/0.0949, allocations: 82.55 kB / 491.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.09494, allocations: 51.41 kB / 491.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.09502, allocations: 97.84 kB / 491.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.09503, allocations: 29.7 kB / 491.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.09509, allocations: 88.09 kB / 491.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.09511, allocations: 11.91 kB / 491.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.09514, allocations: 17.7 kB / 491.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.09527, allocations: 322.8 kB / 492 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.0953, allocations: 8 kB / 492 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.09533, allocations: 29.64 kB / 492 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.09538, allocations: 34.08 kB / 492 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.09539, allocations: 0 / 492 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.774e-05/0.09548, allocations: 61.62 kB / 492.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.0955, allocations: 4 kB / 492.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0955, allocations: 4 kB / 492.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.09552, allocations: 0 / 492.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.0956, allocations: 15.98 kB / 492.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.09561, allocations: 4.031 kB / 492.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.09563, allocations: 7.953 kB / 492.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.09564, allocations: 4 kB / 492.1 MB, free: 8.324 MB / 350.1 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.09571, allocations: 109.8 kB / 492.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.09573, allocations: 0 / 492.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.09576, allocations: 11.69 kB / 492.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09576, allocations: 0 / 492.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.09577, allocations: 0 / 492.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.09577, allocations: 0 / 492.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.09591, allocations: 121.1 kB / 492.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.09591, allocations: 4 kB / 492.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.09595, allocations: 0 / 492.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.09608, allocations: 16.84 kB / 492.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.09608, allocations: 3.938 kB / 492.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.0971, allocations: 1.233 MB / 493.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.0971, allocations: 3.938 kB / 493.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.0973, allocations: 172.6 kB / 493.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.09731, allocations: 3.953 kB / 493.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.09732, allocations: 7.969 kB / 493.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.09737, allocations: 3.938 kB / 493.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.09739, allocations: 7.922 kB / 493.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.0974, allocations: 4.094 kB / 493.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.09744, allocations: 83.27 kB / 493.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09744, allocations: 0 / 493.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.09767, allocations: 4 kB / 493.9 MB, free: 6.375 MB / 350.1 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 9.944e-05/0.09777, allocations: 99.31 kB / 494 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.09786, allocations: 19.98 kB / 494 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.09786, allocations: 0 / 494 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.09806, allocations: 134.6 kB / 494.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.09826, allocations: 4 kB / 494.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.09851, allocations: 159.9 kB / 494.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.347e-05/0.09858, allocations: 63.34 kB / 494.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.0986, allocations: 11.44 kB / 494.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.0986, allocations: 4.062 kB / 494.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.00228/0.1009, allocations: 0.701 MB / 495.1 MB, free: 5.117 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0653135809116066] Failed to read output from testmodel.py, exit status != 0: 0.10836790781468153 0.12406836800000001 0.027636014 Calling exit ...