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.001011/0.001011, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001014/0.001014, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.001/1.001, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.002071/0.002071, allocations: 423.4 kB / 259.6 MB, free: 12.84 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 381.8 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.572e-05, allocations: 2.281 kB / 381.8 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.001855/0.001871, allocations: 1.622 MB / 383.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.002087, allocations: 91.62 kB / 383.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.002135, allocations: 8 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.002178, allocations: 11.86 kB / 383.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.002263, allocations: 39.64 kB / 383.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.002377, allocations: 19.97 kB / 383.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.002478, allocations: 111.5 kB / 383.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.002591, allocations: 19.98 kB / 383.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.002673, allocations: 67.86 kB / 383.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.00275, allocations: 31.91 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.002775, allocations: 12 kB / 383.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.002788, allocations: 8 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.002809, allocations: 19.92 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.002843, allocations: 35.91 kB / 383.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.002968, allocations: 115.6 kB / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00297, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.002971, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.002976, allocations: 0 / 384 MB, free: 13.91 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003722/0.003348, allocations: 326.1 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.003385, allocations: 12.03 kB / 384.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.003416, allocations: 38.75 kB / 384.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.003441, allocations: 12.88 kB / 384.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.003562, allocations: 133.6 kB / 384.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.003571, allocations: 4.562 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.003595, allocations: 16.36 kB / 384.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.003736, allocations: 94.53 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.003746, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.003756, allocations: 4 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.00376, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.003841, allocations: 59.97 kB / 384.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.004213, allocations: 339.8 kB / 385 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.004343, allocations: 98.44 kB / 385.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.004387, allocations: 36.84 kB / 385.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.004397, allocations: 0 / 385.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.004415, allocations: 30.56 kB / 385.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.004416, allocations: 4 kB / 385.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000733/0.005149, allocations: 0.5388 MB / 385.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.005176, allocations: 51.41 kB / 385.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.005247, allocations: 130.8 kB / 385.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.005259, allocations: 29.7 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.005306, allocations: 104.3 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.005334, allocations: 59.48 kB / 386.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.005373, allocations: 29.72 kB / 386.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003168/0.00569, allocations: 322.8 kB / 386.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.005731, allocations: 31.98 kB / 386.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.005785, allocations: 58.56 kB / 386.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.005888, allocations: 106.5 kB / 386.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.005889, allocations: 0 / 386.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001329/0.006021, allocations: 138.6 kB / 386.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.006034, allocations: 8 kB / 386.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.00604, allocations: 0 / 386.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006053, allocations: 3.938 kB / 386.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.006165, allocations: 35.92 kB / 386.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.006171, allocations: 4 kB / 386.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.006196, allocations: 4 kB / 386.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.006204, allocations: 4 kB / 386.8 MB, free: 10.82 MB / 362.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 (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 6.075e-05/0.006265, allocations: 129.9 kB / 386.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.006283, allocations: 15.91 kB / 386.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.00631, allocations: 12.84 kB / 386.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.006314, allocations: 11.94 kB / 387 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.006319, allocations: 0 / 387 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006322, allocations: 3.938 kB / 387 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.006722, allocations: 448.8 kB / 387.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006724, allocations: 8.078 kB / 387.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.006793, allocations: 20 kB / 387.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.006879, allocations: 28.78 kB / 387.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/0.006887, allocations: 4 kB / 387.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000599/0.007486, allocations: 1.267 MB / 388.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.007489, allocations: 7.969 kB / 388.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.007712, allocations: 298.7 kB / 389 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.007723, allocations: 19.92 kB / 389 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.007732, allocations: 4 kB / 389.1 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.007775, allocations: 4 kB / 389.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.007795, allocations: 11.92 kB / 389.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.0078, allocations: 4 kB / 389.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.007837, allocations: 103.6 kB / 389.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007837, allocations: 0 / 389.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.008004, allocations: 28 kB / 389.2 MB, free: 8.191 MB / 362.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 0.0003847/0.008389, allocations: 0.8394 MB / 390 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.008524, allocations: 93.45 kB / 390.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.008526, allocations: 3.938 kB / 390.1 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.008697, allocations: 162.5 kB / 390.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.008949, allocations: 28.89 kB / 390.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.01009, allocations: 1.739 MB / 392.1 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.01014, allocations: 92.67 kB / 392.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.01018, allocations: 13.14 kB / 392.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.01023, allocations: 32.5 kB / 392.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01023, allocations: 0 / 392.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.02696, allocations: 3.577 MB / 395.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.558, allocations: 4 kB / 395.8 MB, free: 1.66 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.416687454096973] Failed to read output from testmodel.py, exit status != 0: 7.637770223431289 7.648456031 7.642750665 Calling exit ...