Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001556/0.001556, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001426/0.001426, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 51.91 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2515, allocations: 53.36 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00327/0.2548, allocations: 1.718 MB / 433.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.2552, allocations: 167.3 kB / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.2553, allocations: 0 / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.2554, allocations: 7.875 kB / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.2555, allocations: 15.92 kB / 433.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.2558, allocations: 47.83 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.2559, allocations: 51.89 kB / 433.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.256, allocations: 27.91 kB / 434 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.256, allocations: 23.94 kB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.2561, allocations: 27.84 kB / 434 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2561, allocations: 4 kB / 434 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.2561, allocations: 4 kB / 434 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.2562, allocations: 15.94 kB / 434 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.2562, allocations: 39.72 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2564, allocations: 68.5 kB / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2564, allocations: 0 / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2564, allocations: 0 / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.2564, allocations: 7.875 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005528/0.257, allocations: 317.9 kB / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.257, allocations: 8.031 kB / 434.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.507e-05/0.257, allocations: 16.11 kB / 434.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.2571, allocations: 34.75 kB / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2571, allocations: 12.89 kB / 434.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.2574, allocations: 145 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2574, allocations: 384 / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2574, allocations: 12.38 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.2578, allocations: 167.6 kB / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2578, allocations: 0 / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2578, allocations: 0 / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2579, allocations: 4 kB / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.258, allocations: 39.91 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.2584, allocations: 332.9 kB / 435.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.2587, allocations: 115.8 kB / 435.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2588, allocations: 58.75 kB / 435.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2588, allocations: 0 / 435.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.2589, allocations: 42.56 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.2589, allocations: 0 / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003375/0.2592, allocations: 121.5 kB / 435.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.2593, allocations: 106.8 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2594, allocations: 133.8 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2594, allocations: 29.7 kB / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.2595, allocations: 96.31 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2595, allocations: 15.89 kB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2595, allocations: 21.72 kB / 435.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2597, allocations: 322.8 kB / 436.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.2597, allocations: 11.98 kB / 436.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.2598, allocations: 79.66 kB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2599, allocations: 87.59 kB / 436.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2599, allocations: 4 kB / 436.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.2601, allocations: 109.7 kB / 436.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2601, allocations: 11.98 kB / 436.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2602, allocations: 0 / 436.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2602, allocations: 4.188 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.2602, allocations: 16 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2602, allocations: 11.92 kB / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.2603, allocations: 7.953 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.2603, allocations: 4 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.103e-05/0.2604, allocations: 125.7 kB / 436.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.2605, allocations: 81.66 kB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.2606, allocations: 16.7 kB / 436.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2606, allocations: 3.984 kB / 436.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2606, allocations: 4 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2606, allocations: 0 / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2608, allocations: 156.6 kB / 437 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2608, allocations: 4 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.2609, allocations: 19.92 kB / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2609, allocations: 4 kB / 437 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2609, allocations: 4 kB / 437 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2609, allocations: 8 kB / 437 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2609, allocations: 4 kB / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.2613, allocations: 308.2 kB / 437.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2613, allocations: 27.88 kB / 437.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.2613, allocations: 7.984 kB / 437.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.2614, allocations: 8 kB / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.2615, allocations: 0 / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2615, allocations: 4 kB / 437.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.2615, allocations: 110.4 kB / 437.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2615, allocations: 0 / 437.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.2618, allocations: 15.94 kB / 437.5 MB, free: 0.8906 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0006561/0.2625, allocations: 0.8382 MB / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.2627, allocations: 64.03 kB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2627, allocations: 0 / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.2627, allocations: 15.94 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.2631, allocations: 43.88 kB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2648, allocations: 1.591 MB / 440 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2651, allocations: 0.704 MB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.2651, allocations: 4.672 kB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.2652, allocations: 23.42 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2652, allocations: 0 / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.2865, allocations: 2.051 MB / 442.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.7, allocations: 14.58 kB / 442.8 MB, free: 11.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.990387092053425] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 10.854494017956313 10.868319143 10.609111188 Calling exit ...