Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001371/0.001371, allocations: 105.4 kB / 19.8 MB, free: 2.496 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.001608/0.001608, allocations: 219.1 kB / 23 MB, free: 5.59 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.379/1.379, allocations: 230.5 MB / 256.5 MB, free: 8.164 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001861/0.001861, allocations: 71.83 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2543, allocations: 53.3 MB / 429.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003442/0.2577, allocations: 1.932 MB / 431.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.2599, allocations: 1.325 MB / 432.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.26, allocations: 4 kB / 432.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.2603, allocations: 63.66 kB / 432.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.2606, allocations: 135.4 kB / 433 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.2613, allocations: 226.2 kB / 433.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.2615, allocations: 183.5 kB / 433.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2616, allocations: 25.53 kB / 433.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2617, allocations: 71.7 kB / 433.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2619, allocations: 79.67 kB / 433.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2619, allocations: 8 kB / 433.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.262, allocations: 75.88 kB / 433.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.2621, allocations: 55.78 kB / 433.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.2622, allocations: 79.47 kB / 433.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.2626, allocations: 251.3 kB / 434 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2626, allocations: 0 / 434 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2626, allocations: 0 / 434 MB, free: 2.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2626, allocations: 0 / 434 MB, free: 2.934 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.0007677/0.2634, allocations: 0.5348 MB / 434.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2634, allocations: 12.03 kB / 434.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.2635, allocations: 38.73 kB / 434.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.2635, allocations: 24.8 kB / 434.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.264, allocations: 299.7 kB / 434.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.264, allocations: 8.375 kB / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.264, allocations: 7.938 kB / 434.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.2644, allocations: 159.6 kB / 435.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2644, allocations: 3.938 kB / 435.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2644, allocations: 8 kB / 435.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2644, allocations: 0 / 435.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.2645, allocations: 39.91 kB / 435.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.2651, allocations: 398.3 kB / 435.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.2653, allocations: 111.8 kB / 435.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2654, allocations: 46.56 kB / 435.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.2655, allocations: 7.984 kB / 435.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.2656, allocations: 71.39 kB / 435.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2656, allocations: 0 / 435.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004257/0.2661, allocations: 157.4 kB / 435.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.2662, allocations: 158.5 kB / 436.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.2666, allocations: 342.6 kB / 436.4 MB, free: 264 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2666, allocations: 29.7 kB / 436.4 MB, free: 228 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2667, allocations: 128.2 kB / 436.5 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2668, allocations: 23.88 kB / 436.6 MB, free: 72 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.2668, allocations: 29.72 kB / 436.6 MB, free: 36 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.267, allocations: 330.8 kB / 436.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.2671, allocations: 27.98 kB / 436.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2672, allocations: 94.72 kB / 437 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.2674, allocations: 88.22 kB / 437.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2674, allocations: 0 / 437.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002318/0.2676, allocations: 121.5 kB / 437.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2676, allocations: 4 kB / 437.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2676, allocations: 4 kB / 437.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2676, allocations: 0 / 437.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2677, allocations: 24.05 kB / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2677, allocations: 4 kB / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.2678, allocations: 16.19 kB / 437.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2678, allocations: 7.938 kB / 437.3 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.0001852/0.268, allocations: 157.8 kB / 437.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.2681, allocations: 73.45 kB / 437.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.2684, allocations: 119.3 kB / 437.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2684, allocations: 8.062 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2684, allocations: 0 / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2684, allocations: 3.938 kB / 437.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2686, allocations: 237.6 kB / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2686, allocations: 4 kB / 437.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.2687, allocations: 8 kB / 437.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2687, allocations: 0 / 437.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2687, allocations: 11.98 kB / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2687, allocations: 0 / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2687, allocations: 3.938 kB / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.269, allocations: 170.5 kB / 438.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2691, allocations: 109 kB / 438.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2691, allocations: 8 kB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.2692, allocations: 3.984 kB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.2692, allocations: 11.94 kB / 438.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2693, allocations: 7.984 kB / 438.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.2695, allocations: 249.9 kB / 438.5 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2695, allocations: 0 / 438.5 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.2698, allocations: 39.92 kB / 438.5 MB, free: 13.96 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.002011/0.2718, allocations: 1.019 MB / 439.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.272, allocations: 71.89 kB / 439.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.272, allocations: 4 kB / 439.6 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.2721, allocations: 27.92 kB / 439.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2725, allocations: 70.94 kB / 439.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.2753, allocations: 2.225 MB / 441.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.2757, allocations: 0.7397 MB / 442.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.203e-05/0.2758, allocations: 33.53 kB / 442.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2759, allocations: 63.41 kB / 442.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2759, allocations: 0 / 442.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.3065, allocations: 5.334 MB / 448.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.233, allocations: 2.922 kB / 448.1 MB, free: 4.418 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.464647276996402] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.358335369994165 8.385002101 8.11701788 Calling exit ...