Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001257/0.001257, allocations: 108.6 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.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.001267/0.001267, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.6 MB / 253.3 MB, free: 13.03 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.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 43.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003443/0.2491, allocations: 1.92 MB / 425.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.251, allocations: 1.091 MB / 426.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2511, allocations: 7.938 kB / 426.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.2517, allocations: 159.5 kB / 426.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.252, allocations: 115.6 kB / 426.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.2525, allocations: 202.4 kB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2528, allocations: 183.5 kB / 427.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2529, allocations: 17.75 kB / 427.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.253, allocations: 87.62 kB / 427.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2531, allocations: 75.62 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2531, allocations: 8 kB / 427.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2533, allocations: 59.95 kB / 427.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.2533, allocations: 39.84 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.2534, allocations: 75.53 kB / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2537, allocations: 203.9 kB / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2537, allocations: 4 kB / 427.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2537, allocations: 0 / 427.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2537, allocations: 0 / 427.6 MB, free: 10.37 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.0007277/0.2545, allocations: 450.7 kB / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2545, allocations: 8.031 kB / 428.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.2545, allocations: 4.188 kB / 428.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.2545, allocations: 38.73 kB / 428.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.2546, allocations: 24.8 kB / 428.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.2549, allocations: 205.1 kB / 428.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2549, allocations: 12.12 kB / 428.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2549, allocations: 8 kB / 428.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.2553, allocations: 142.7 kB / 428.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2553, allocations: 0 / 428.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2553, allocations: 0 / 428.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2553, allocations: 8 kB / 428.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.658e-05/0.2554, allocations: 31.92 kB / 428.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.2559, allocations: 333.5 kB / 428.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2561, allocations: 103.9 kB / 429 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.2562, allocations: 46.55 kB / 429 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2562, allocations: 80 / 429 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.2564, allocations: 87.31 kB / 429.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.2564, allocations: 3.938 kB / 429.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003661/0.2568, allocations: 145.4 kB / 429.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/0.2569, allocations: 136.5 kB / 429.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.2571, allocations: 264.9 kB / 429.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.2572, allocations: 29.95 kB / 429.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.2573, allocations: 120.1 kB / 429.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2573, allocations: 19.84 kB / 429.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.2573, allocations: 29.7 kB / 429.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2575, allocations: 326.8 kB / 430.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.2576, allocations: 19.98 kB / 430.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.2577, allocations: 73.94 kB / 430.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2578, allocations: 76.22 kB / 430.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2578, allocations: 0 / 430.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002061/0.258, allocations: 113.5 kB / 430.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.258, allocations: 11.28 kB / 430.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.258, allocations: 0 / 430.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.258, allocations: 0 / 430.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.2581, allocations: 19.92 kB / 430.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2581, allocations: 3.938 kB / 430.5 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.2582, allocations: 15.95 kB / 430.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2582, allocations: 0 / 430.5 MB, free: 7.219 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.000139/0.2583, allocations: 146 kB / 430.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.2584, allocations: 61.53 kB / 430.7 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.2587, allocations: 115.3 kB / 430.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2587, allocations: 0 / 430.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.2587, allocations: 8.312 kB / 430.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2587, allocations: 0 / 430.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.2589, allocations: 196.6 kB / 431 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2589, allocations: 0 / 431 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.2589, allocations: 8 kB / 431 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2589, allocations: 8 kB / 431 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2589, allocations: 3.984 kB / 431 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2589, allocations: 4 kB / 431 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2589, allocations: 3.938 kB / 431 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.2592, allocations: 146.7 kB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.2593, allocations: 35.84 kB / 431.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2593, allocations: 4 kB / 431.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.2593, allocations: 8.078 kB / 431.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.2594, allocations: 11.88 kB / 431.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.2594, allocations: 7.984 kB / 431.2 MB, free: 6.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2596, allocations: 188.5 kB / 431.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2596, allocations: 0 / 431.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.2598, allocations: 35.92 kB / 431.5 MB, free: 6.156 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 (9): * Single equations (assignments): 7 * 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.001905/0.2617, allocations: 1.003 MB / 432.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.2619, allocations: 68.09 kB / 432.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2619, allocations: 4.062 kB / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.262, allocations: 27.88 kB / 432.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.2624, allocations: 63.73 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.2646, allocations: 1.928 MB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.265, allocations: 0.7241 MB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.126e-05/0.2651, allocations: 25.45 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.2651, allocations: 51.42 kB / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2651, allocations: 0 / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.2902, allocations: 4.742 MB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.9, allocations: 22.28 kB / 440.1 MB, free: 13.58 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.218052285024896] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.111033146036789 11.126644623 10.869713007 Calling exit ...