Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001678, allocations: 191.2 kB / 15.81 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001234, allocations: 98.84 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.109/0.109, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005614, allocations: 13.66 kB / 392.1 MB, free: 54.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1035, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample): time 0.003953/0.1076, allocations: 1.542 MB / 444 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.111, allocations: 0.9681 MB / 445 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.1114, allocations: 4 kB / 445 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.1119, allocations: 51.8 kB / 445 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.1124, allocations: 83.7 kB / 445.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.1141, allocations: 199.2 kB / 445.3 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.1146, allocations: 107.8 kB / 445.4 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1148, allocations: 25.53 kB / 445.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.115, allocations: 59.7 kB / 445.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1152, allocations: 59.75 kB / 445.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1153, allocations: 4 kB / 445.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1156, allocations: 39.98 kB / 445.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1157, allocations: 51.81 kB / 445.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.1158, allocations: 53.58 kB / 445.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.1163, allocations: 168.4 kB / 445.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1163, allocations: 4 kB / 445.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1163, allocations: 0 / 445.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1164, allocations: 0 / 445.9 MB, free: 7.395 MB / 282.7 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.001059/0.1174, allocations: 0.5 MB / 446.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1175, allocations: 16.03 kB / 446.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.866e-05/0.1176, allocations: 38.5 kB / 446.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.1177, allocations: 27.7 kB / 446.5 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.1183, allocations: 266.5 kB / 446.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1184, allocations: 8 kB / 446.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1184, allocations: 4 kB / 446.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.119, allocations: 159.6 kB / 446.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1191, allocations: 3.938 kB / 446.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.1191, allocations: 7.984 kB / 446.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1191, allocations: 4 kB / 446.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.1194, allocations: 27.98 kB / 446.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.1202, allocations: 394.3 kB / 447.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.1207, allocations: 107.9 kB / 447.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.1208, allocations: 11.98 kB / 447.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.1212, allocations: 75.45 kB / 447.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 5e-06/0.1212, allocations: 0 / 447.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007361/0.1219, allocations: 153.3 kB / 447.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.1221, allocations: 162.4 kB / 447.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.1228, allocations: 330.6 kB / 448.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.1228, allocations: 33.69 kB / 448.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.123, allocations: 128 kB / 448.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.123, allocations: 11.91 kB / 448.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1231, allocations: 0 / 448.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1232, allocations: 334.8 kB / 448.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1234, allocations: 23.98 kB / 448.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1236, allocations: 94.67 kB / 448.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1239, allocations: 27.98 kB / 448.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1239, allocations: 4 kB / 448.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005834/0.1245, allocations: 125.3 kB / 448.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1245, allocations: 8 kB / 448.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1246, allocations: 0 / 448.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.1246, allocations: 7.984 kB / 448.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1248, allocations: 12 kB / 448.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.1249, allocations: 4 kB / 448.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1251, allocations: 11.94 kB / 448.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.1252, allocations: 16.06 kB / 449 MB, free: 3.977 MB / 282.7 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.1254, allocations: 155 kB / 449.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.1256, allocations: 73.28 kB / 449.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.1258, allocations: 25.7 kB / 449.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1258, allocations: 4 kB / 449.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.1258, allocations: 4 kB / 449.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1258, allocations: 0 / 449.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.1265, allocations: 237.5 kB / 449.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.1266, allocations: 4.062 kB / 449.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.1269, allocations: 15.98 kB / 449.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.1269, allocations: 0 / 449.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.127, allocations: 0 / 449.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.127, allocations: 4 kB / 449.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.127, allocations: 0 / 449.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.1279, allocations: 193.9 kB / 449.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.1281, allocations: 116.8 kB / 449.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.1283, allocations: 3.984 kB / 449.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.1288, allocations: 8 kB / 449.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.129, allocations: 11.94 kB / 449.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.1291, allocations: 4 kB / 449.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005777/0.1297, allocations: 241.9 kB / 450 MB, free: 2.781 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.1297, allocations: 8 kB / 450 MB, free: 2.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.1301, allocations: 28 kB / 450.1 MB, free: 2.746 MB / 282.7 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,superSample.y,sample.y,superSample.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001759/0.1319, allocations: 1.182 MB / 451.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.1323, allocations: 71.91 kB / 451.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1323, allocations: 0 / 451.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1325, allocations: 31.98 kB / 451.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.133, allocations: 56.23 kB / 451.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1362, allocations: 1.738 MB / 453.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.1369, allocations: 0.7516 MB / 453.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.1371, allocations: 21.55 kB / 453.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.1373, allocations: 59.41 kB / 454 MB, free: 14.71 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1374, allocations: 0 / 454 MB, free: 14.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.1727, allocations: 4.621 MB / 458.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004025/0.1731, allocations: 247.9 kB / 458.8 MB, free: 9.766 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/3.031, allocations: 4 kB / 458.8 MB, free: 9.762 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat