Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001827, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002364/0.002364, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.047 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.83 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.255, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003524/0.2586, allocations: 1.926 MB / 433.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.2608, allocations: 1.251 MB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2609, allocations: 11.88 kB / 435.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.2615, allocations: 147.5 kB / 435.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.262, allocations: 159.4 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.2625, allocations: 186.2 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.2628, allocations: 187.4 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2629, allocations: 17.75 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.263, allocations: 83.62 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.2631, allocations: 75.62 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.2631, allocations: 12 kB / 435.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.2633, allocations: 67.94 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.2634, allocations: 43.78 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.2634, allocations: 71.55 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.2638, allocations: 208 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2638, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2638, allocations: 4 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2638, allocations: 0 / 436.3 MB, free: 2.441 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.0007622/0.2646, allocations: 454.7 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2646, allocations: 8.031 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.2647, allocations: 42.73 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.2647, allocations: 20.8 kB / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.2651, allocations: 229.1 kB / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2651, allocations: 384 / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.2651, allocations: 11.94 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.2654, allocations: 142.7 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2654, allocations: 0 / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2654, allocations: 11.94 kB / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2654, allocations: 4 kB / 437.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.2655, allocations: 27.98 kB / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.2661, allocations: 349.4 kB / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.2663, allocations: 103.9 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.2664, allocations: 42.56 kB / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2664, allocations: 0 / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.2666, allocations: 79.33 kB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2666, allocations: 0 / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003571/0.2669, allocations: 141.5 kB / 438 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.267, allocations: 132.5 kB / 438.1 MB, free: 460 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.2673, allocations: 281.3 kB / 438.4 MB, free: 172 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2674, allocations: 29.64 kB / 438.4 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.2674, allocations: 116.1 kB / 438.5 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2675, allocations: 15.91 kB / 438.5 MB, free: 0 / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.2675, allocations: 37.66 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2677, allocations: 326.8 kB / 438.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.2678, allocations: 19.98 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.2679, allocations: 70 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.268, allocations: 72.22 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.268, allocations: 0 / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002197/0.2683, allocations: 121.5 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2683, allocations: 4 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2683, allocations: 4 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2683, allocations: 0 / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.2684, allocations: 15.98 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2684, allocations: 0 / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.2684, allocations: 15.88 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2685, allocations: 4 kB / 439.2 MB, free: 15.27 MB / 350.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.00014/0.2686, allocations: 158.1 kB / 439.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/0.2687, allocations: 69.48 kB / 439.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.2689, allocations: 107.4 kB / 439.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2689, allocations: 0 / 439.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2689, allocations: 3.984 kB / 439.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2689, allocations: 7.938 kB / 439.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2691, allocations: 192.6 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2691, allocations: 4.062 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.2692, allocations: 11.94 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2692, allocations: 3.984 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2692, allocations: 4 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2692, allocations: 7.938 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2692, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.2694, allocations: 154.7 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.2695, allocations: 39.78 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.2695, allocations: 7.984 kB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.2696, allocations: 0 / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.2696, allocations: 19.91 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2697, allocations: 4 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.2699, allocations: 200.5 kB / 440.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2699, allocations: 0 / 440.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.2701, allocations: 28 kB / 440.2 MB, free: 14.17 MB / 350.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.001937/0.2721, allocations: 0.9987 MB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.2723, allocations: 67.91 kB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2723, allocations: 4 kB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.805e-05/0.2724, allocations: 27.92 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.2728, allocations: 63.48 kB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.2752, allocations: 1.946 MB / 443.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.2756, allocations: 0.7359 MB / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.146e-05/0.2757, allocations: 25.72 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.2758, allocations: 51.42 kB / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2758, allocations: 0 / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.3064, allocations: 4.731 MB / 448.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.513, allocations: 7.188 kB / 448.9 MB, free: 5.551 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.845622750930488] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.656653163954616 8.673190827 8.406084018 Calling exit ...