Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.001269/0.001269, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001671/0.001671, allocations: 214.5 kB / 23.03 MB, free: 4.922 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002902/0.002902, allocations: 0.5833 MB / 313.8 MB, free: 2.402 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 55.91 kB / 435.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09103, allocations: 53.53 MB / 489.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002766/0.0938, allocations: 1.605 MB / 491 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.09405, allocations: 99.67 kB / 491.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.09411, allocations: 7.938 kB / 491.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.16e-05/0.09416, allocations: 15.86 kB / 491.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.09426, allocations: 27.72 kB / 491.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.09438, allocations: 23.97 kB / 491.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.09451, allocations: 107.5 kB / 491.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.09462, allocations: 24 kB / 491.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.0947, allocations: 47.78 kB / 491.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.352e-05/0.09479, allocations: 51.77 kB / 491.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.09481, allocations: 8 kB / 491.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.09483, allocations: 12 kB / 491.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.09486, allocations: 11.94 kB / 491.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.09492, allocations: 43.86 kB / 491.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.09507, allocations: 111.8 kB / 491.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09507, allocations: 0 / 491.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09507, allocations: 0 / 491.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.09508, allocations: 0 / 491.6 MB, free: 9.086 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004899/0.09557, allocations: 322.2 kB / 491.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.0956, allocations: 12.03 kB / 491.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.085e-05/0.09561, allocations: 384 / 491.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.09565, allocations: 42.73 kB / 492 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.09568, allocations: 16.84 kB / 492 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.09585, allocations: 130.4 kB / 492.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.09586, allocations: 4.562 kB / 492.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.09589, allocations: 16.08 kB / 492.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.09608, allocations: 92.28 kB / 492.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.09609, allocations: 4 kB / 492.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.09611, allocations: 4 kB / 492.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.09611, allocations: 8 kB / 492.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.09624, allocations: 67.77 kB / 492.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.09675, allocations: 327.9 kB / 492.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.09699, allocations: 102.4 kB / 492.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.09705, allocations: 32.84 kB / 492.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.09706, allocations: 4 kB / 492.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.09709, allocations: 34.56 kB / 492.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.09709, allocations: 0 / 492.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001081/0.09817, allocations: 0.5358 MB / 493.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.09821, allocations: 55.41 kB / 493.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.09832, allocations: 122.2 kB / 493.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.09834, allocations: 29.7 kB / 493.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.09841, allocations: 104.3 kB / 493.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.09846, allocations: 59.48 kB / 493.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.09852, allocations: 37.64 kB / 493.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.09865, allocations: 322.8 kB / 494 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.09872, allocations: 31.98 kB / 494.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.0988, allocations: 58.56 kB / 494.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.09895, allocations: 104.7 kB / 494.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.09895, allocations: 0 / 494.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002135/0.09917, allocations: 137.5 kB / 494.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.09919, allocations: 11.92 kB / 494.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.09919, allocations: 64 / 494.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.09921, allocations: 8 kB / 494.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.09939, allocations: 35.98 kB / 494.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.09939, allocations: 0 / 494.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.09944, allocations: 8.031 kB / 494.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.09945, allocations: 8 kB / 494.4 MB, free: 5.98 MB / 350.1 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 (19): * Single equations (assignments): 19 * 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 9.659e-05/0.09955, allocations: 121.8 kB / 494.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.09958, allocations: 11.89 kB / 494.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.09963, allocations: 20.77 kB / 494.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.09963, allocations: 0 / 494.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.09964, allocations: 0 / 494.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.09964, allocations: 7.938 kB / 494.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.1003, allocations: 467 kB / 495 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1003, allocations: 4 kB / 495 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.1004, allocations: 27.92 kB / 495.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.1005, allocations: 16.84 kB / 495.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1006, allocations: 11.94 kB / 495.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.1016, allocations: 1.267 MB / 496.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1016, allocations: 0 / 496.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.102, allocations: 305.4 kB / 496.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.102, allocations: 7.953 kB / 496.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.102, allocations: 7.922 kB / 496.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.1021, allocations: 4 kB / 496.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.1021, allocations: 15.92 kB / 496.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1022, allocations: 8 kB / 496.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.1022, allocations: 95.31 kB / 496.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1022, allocations: 0 / 496.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1025, allocations: 32.16 kB / 496.8 MB, free: 3.355 MB / 350.1 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 0.0006938/0.1032, allocations: 0.8367 MB / 497.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1034, allocations: 95.84 kB / 497.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1034, allocations: 0 / 497.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.1036, allocations: 166.6 kB / 497.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.104, allocations: 28.28 kB / 498 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.106, allocations: 1.791 MB / 499.7 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.782e-05/0.1061, allocations: 96.62 kB / 499.8 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.582e-05/0.1061, allocations: 9.078 kB / 499.9 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.1062, allocations: 31.42 kB / 499.9 MB, free: 140 kB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1062, allocations: 0 / 499.9 MB, free: 140 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1315, allocations: 3.12 MB / 0.4912 GB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.13, allocations: 12.11 kB / 0.4912 GB, free: 13.22 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.900519957998767] Failed to read output from testmodel.py, exit status != 0: 12.293214799952693 12.538212545 12.21263762 Calling exit ...