Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 101.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 185.1 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 253.3 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 48.06 kB / 371.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 52.18 MB / 423.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003533/0.248, allocations: 1.853 MB / 425.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2501, allocations: 1.087 MB / 426.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2503, allocations: 4 kB / 426.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.2506, allocations: 67.66 kB / 426.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.2509, allocations: 95.58 kB / 426.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.2516, allocations: 269.4 kB / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.2519, allocations: 175.5 kB / 426.9 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.252, allocations: 21.73 kB / 426.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2521, allocations: 79.69 kB / 427 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.2522, allocations: 83.67 kB / 427.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.2523, allocations: 8 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2524, allocations: 67.89 kB / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2525, allocations: 55.83 kB / 427.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.2526, allocations: 47.61 kB / 427.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.253, allocations: 255.7 kB / 427.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.253, allocations: 0 / 427.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.253, allocations: 0 / 427.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.253, allocations: 4 kB / 427.5 MB, free: 10.39 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007776/0.2538, allocations: 478.5 kB / 428 MB, free: 9.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2538, allocations: 8.031 kB / 428 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.2538, allocations: 4.188 kB / 428 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.2539, allocations: 34.75 kB / 428 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.2539, allocations: 24.8 kB / 428 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.2543, allocations: 229.5 kB / 428.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2544, allocations: 8.125 kB / 428.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.2544, allocations: 4 kB / 428.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.2548, allocations: 211 kB / 428.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2548, allocations: 4 kB / 428.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2548, allocations: 0 / 428.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2548, allocations: 0 / 428.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2549, allocations: 47.91 kB / 428.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.2555, allocations: 341.5 kB / 428.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2558, allocations: 119.9 kB / 429 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.2559, allocations: 50.5 kB / 429 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.2559, allocations: 4 kB / 429 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.2561, allocations: 75.38 kB / 429.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2561, allocations: 3.938 kB / 429.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004252/0.2565, allocations: 161.4 kB / 429.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2566, allocations: 158.2 kB / 429.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.257, allocations: 330.1 kB / 429.7 MB, free: 7.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.257, allocations: 41.64 kB / 429.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.2571, allocations: 124.1 kB / 429.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2571, allocations: 15.91 kB / 429.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.2572, allocations: 33.66 kB / 430 MB, free: 7.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2573, allocations: 334.8 kB / 430.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.2574, allocations: 27.98 kB / 430.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.2576, allocations: 160 kB / 430.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2577, allocations: 92.14 kB / 430.6 MB, free: 7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2577, allocations: 0 / 430.6 MB, free: 7 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002313/0.258, allocations: 121.5 kB / 430.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.258, allocations: 8 kB / 430.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.258, allocations: 0 / 430.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.258, allocations: 0 / 430.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2581, allocations: 23.92 kB / 430.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2581, allocations: 7.938 kB / 430.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.2582, allocations: 20 kB / 430.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2582, allocations: 4.312 kB / 430.7 MB, free: 6.812 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001429/0.2584, allocations: 149.8 kB / 430.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.2585, allocations: 73.48 kB / 431 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.2587, allocations: 123.4 kB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2587, allocations: 3.938 kB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2587, allocations: 3.938 kB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2588, allocations: 4 kB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.259, allocations: 200.8 kB / 431.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.259, allocations: 0 / 431.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.259, allocations: 15.94 kB / 431.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.259, allocations: 0 / 431.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.259, allocations: 4 kB / 431.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.259, allocations: 3.984 kB / 431.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2591, allocations: 3.938 kB / 431.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.2593, allocations: 170.7 kB / 431.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.2594, allocations: 47.77 kB / 431.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.2595, allocations: 96 / 431.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.2595, allocations: 15.92 kB / 431.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.2596, allocations: 15.92 kB / 431.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2596, allocations: 4 kB / 431.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.2598, allocations: 241.2 kB / 431.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2598, allocations: 0 / 431.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.2601, allocations: 35.98 kB / 431.8 MB, free: 5.625 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002078/0.2622, allocations: 1.053 MB / 432.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.2624, allocations: 71.91 kB / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2624, allocations: 0 / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.2625, allocations: 35.92 kB / 433 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2629, allocations: 67.52 kB / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.2654, allocations: 2.211 MB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2656, allocations: 131.9 kB / 435.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.2656, allocations: 25.62 kB / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2658, allocations: 59.41 kB / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2658, allocations: 0 / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.2931, allocations: 5.7 MB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.07, allocations: 4.062 kB / 441.2 MB, free: 12.38 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.399195117992349] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.280415093060583 11.294508314 11.038620615 Calling exit ...