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.001471/0.001471, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00133/0.00133, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.485/1.485, allocations: 230.5 MB / 254.7 MB, free: 15.23 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.001968/0.001968, allocations: 71.83 kB / 373.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1054, allocations: 53.31 MB / 426.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003972/0.1094, allocations: 1.899 MB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.112, allocations: 1.321 MB / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1121, allocations: 0 / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.1125, allocations: 71.66 kB / 430.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.1129, allocations: 131.4 kB / 430.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.1137, allocations: 231.3 kB / 430.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.1139, allocations: 179.5 kB / 430.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1141, allocations: 21.56 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1142, allocations: 83.61 kB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1143, allocations: 75.67 kB / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1143, allocations: 12 kB / 430.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.1145, allocations: 71.89 kB / 431 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.1146, allocations: 55.83 kB / 431 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.1147, allocations: 71.42 kB / 431.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.115, allocations: 254.9 kB / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.115, allocations: 0 / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.115, allocations: 0 / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.115, allocations: 0 / 431.3 MB, free: 456 kB / 350.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.0008873/0.1159, allocations: 0.5426 MB / 431.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.116, allocations: 11.97 kB / 431.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.116, allocations: 38.75 kB / 431.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1161, allocations: 20.8 kB / 431.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.1165, allocations: 303.7 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1165, allocations: 8.375 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1166, allocations: 7.938 kB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1169, allocations: 162.7 kB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1169, allocations: 0 / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1169, allocations: 0 / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1169, allocations: 4 kB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1171, allocations: 39.91 kB / 432.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.1177, allocations: 390.3 kB / 432.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.118, allocations: 115.8 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.1181, allocations: 42.56 kB / 433 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1181, allocations: 4 kB / 433 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1183, allocations: 79.38 kB / 433.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1183, allocations: 0 / 433.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003786/0.1186, allocations: 149.4 kB / 433.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.1188, allocations: 166.5 kB / 433.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.1191, allocations: 338.6 kB / 433.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1192, allocations: 25.7 kB / 433.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1193, allocations: 140 kB / 433.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1193, allocations: 15.91 kB / 433.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.1194, allocations: 29.7 kB / 433.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1195, allocations: 330.8 kB / 434.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1197, allocations: 27.98 kB / 434.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1198, allocations: 90.78 kB / 434.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.12, allocations: 88.47 kB / 434.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.12, allocations: 0 / 434.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002397/0.1202, allocations: 117.5 kB / 434.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1202, allocations: 11.98 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1202, allocations: 0 / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1202, allocations: 4 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1203, allocations: 15.94 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1203, allocations: 8.125 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.24e-05/0.1204, allocations: 19.86 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1204, allocations: 4 kB / 434.6 MB, free: 12.79 MB / 366.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.000155/0.1206, allocations: 153.8 kB / 434.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.1207, allocations: 73.44 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.1208, allocations: 21.7 kB / 434.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1208, allocations: 4 kB / 434.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1208, allocations: 64 / 434.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1208, allocations: 11.88 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.121, allocations: 245.6 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.121, allocations: 4 kB / 435.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.1211, allocations: 11.94 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1211, allocations: 0 / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1211, allocations: 4 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.1211, allocations: 3.984 kB / 435.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1211, allocations: 3.938 kB / 435.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1214, allocations: 170.6 kB / 435.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1215, allocations: 117 kB / 435.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.1216, allocations: 8 kB / 435.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1217, allocations: 7.984 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.1218, allocations: 7.938 kB / 435.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1218, allocations: 7.984 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.1221, allocations: 249.9 kB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1221, allocations: 4 kB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1223, allocations: 35.94 kB / 435.7 MB, free: 11.56 MB / 366.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001981/0.1243, allocations: 1.009 MB / 436.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1245, allocations: 79.78 kB / 436.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1245, allocations: 0 / 436.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.1246, allocations: 27.98 kB / 436.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.1251, allocations: 59.34 kB / 436.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.128, allocations: 2.232 MB / 439.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1283, allocations: 0.7397 MB / 439.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.1284, allocations: 29.53 kB / 439.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1286, allocations: 59.41 kB / 440 MB, free: 7.312 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1286, allocations: 0 / 440 MB, free: 7.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.1628, allocations: 5.353 MB / 445.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.557, allocations: 11.92 kB / 445.3 MB, free: 2.082 MB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=3.95804e-05 --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: 11.176133275032043] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.684852970764041 8.921963875 8.804186878 Calling exit ...