Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001636/0.001636, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001451/0.001451, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 43.92 kB / 378.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 53.37 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002644/0.2425, allocations: 1.518 MB / 433.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003446/0.2428, allocations: 139.5 kB / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2429, allocations: 3.938 kB / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.2429, allocations: 0 / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.243, allocations: 7.938 kB / 433.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2432, allocations: 39.83 kB / 433.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.2433, allocations: 27.92 kB / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.2434, allocations: 10.11 kB / 433.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.2434, allocations: 11.94 kB / 433.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.2435, allocations: 11.92 kB / 433.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2435, allocations: 0 / 433.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.2435, allocations: 4 kB / 433.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2435, allocations: 15.94 kB / 433.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2436, allocations: 23.84 kB / 433.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.2437, allocations: 35.72 kB / 433.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2437, allocations: 4 kB / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2437, allocations: 0 / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2437, allocations: 0 / 433.7 MB, free: 4.805 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000398/0.2441, allocations: 282.1 kB / 434 MB, free: 4.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2441, allocations: 12.03 kB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.573e-05/0.2441, allocations: 192 / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.2442, allocations: 38.73 kB / 434 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.2442, allocations: 16.83 kB / 434 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2444, allocations: 138.3 kB / 434.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.2444, allocations: 384 / 434.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.2444, allocations: 4.375 kB / 434.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2447, allocations: 93.36 kB / 434.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2447, allocations: 0 / 434.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2447, allocations: 4 kB / 434.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2447, allocations: 4 kB / 434.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.2447, allocations: 15.98 kB / 434.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.245, allocations: 232.7 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.2451, allocations: 37.22 kB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.2452, allocations: 21.77 kB / 434.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2452, allocations: 7.984 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.2452, allocations: 34.5 kB / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2452, allocations: 0 / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.2454, allocations: 69.61 kB / 434.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.2455, allocations: 77.11 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2456, allocations: 136.3 kB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2456, allocations: 29.7 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.2457, allocations: 84.14 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.2457, allocations: 0 / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.2457, allocations: 17.7 kB / 435 MB, free: 3.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2459, allocations: 318.8 kB / 435.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.2459, allocations: 4 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.246, allocations: 21.95 kB / 435.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.246, allocations: 37.58 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.246, allocations: 0 / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.2461, allocations: 53.64 kB / 435.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2462, allocations: 4 kB / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2462, allocations: 0 / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2462, allocations: 4.125 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.2462, allocations: 11.92 kB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2462, allocations: 7.938 kB / 435.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.2463, allocations: 3.938 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.2463, allocations: 0 / 435.5 MB, free: 2.777 MB / 334.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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.2464, allocations: 121.8 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.2464, allocations: 41.64 kB / 435.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.2464, allocations: 15.77 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2464, allocations: 0 / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2465, allocations: 0 / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2465, allocations: 8.031 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2466, allocations: 136.6 kB / 435.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2466, allocations: 3.984 kB / 435.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.2467, allocations: 4 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2467, allocations: 0 / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2467, allocations: 4 kB / 435.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2467, allocations: 3.938 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2467, allocations: 0 / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2468, allocations: 152.3 kB / 436 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.2469, allocations: 19.97 kB / 436 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2469, allocations: 4 kB / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.2469, allocations: 7.984 kB / 436 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.2469, allocations: 0 / 436 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.247, allocations: 0 / 436 MB, free: 2.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.247, allocations: 103.3 kB / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.247, allocations: 0 / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.2472, allocations: 4 kB / 436.1 MB, free: 2.082 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004757/0.2477, allocations: 0.6976 MB / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.2478, allocations: 19.92 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2478, allocations: 0 / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.2479, allocations: 4 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2482, allocations: 22.53 kB / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.2494, allocations: 1.276 MB / 438.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.429e-05/0.2495, allocations: 67.33 kB / 438.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.424e-05/0.2495, allocations: 4 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.2495, allocations: 11.44 kB / 438.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2495, allocations: 0 / 438.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.2713, allocations: 1.581 MB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.76, allocations: 10.64 kB / 439.8 MB, free: 14.4 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.114867115975358] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 10.912363953073509 10.927872628 10.681239241 Calling exit ...