Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008186, allocations: 85.05 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008643/0.0008644, allocations: 184.5 kB / 17.21 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 241.2 MB, free: 5.312 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 7.875 kB / 300.9 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 50.43 MB / 351.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002204/0.1099, allocations: 1.542 MB / 352.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1115, allocations: 1.061 MB / 353.9 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1117, allocations: 7.938 kB / 354 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1119, allocations: 51.8 kB / 354 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1122, allocations: 75.72 kB / 354.1 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.1128, allocations: 226.9 kB / 354.3 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.113, allocations: 147.5 kB / 354.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1131, allocations: 29.42 kB / 354.5 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.1132, allocations: 63.7 kB / 354.5 MB, free: 8.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1133, allocations: 63.69 kB / 354.6 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1133, allocations: 8 kB / 354.6 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1135, allocations: 47.97 kB / 354.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.1136, allocations: 43.83 kB / 354.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.1136, allocations: 53.58 kB / 354.7 MB, free: 8.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1138, allocations: 163.7 kB / 354.9 MB, free: 7.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1139, allocations: 0 / 354.9 MB, free: 7.953 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1139, allocations: 0 / 354.9 MB, free: 7.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1139, allocations: 0 / 354.9 MB, free: 7.953 MB / 286.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.0006628/0.1145, allocations: 0.5077 MB / 355.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1146, allocations: 12.03 kB / 355.4 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.1146, allocations: 42.55 kB / 355.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1147, allocations: 23.67 kB / 355.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.115, allocations: 266.5 kB / 355.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.115, allocations: 8 kB / 355.8 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.1151, allocations: 4 kB / 355.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.1154, allocations: 155.6 kB / 355.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1154, allocations: 0 / 355.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1155, allocations: 7.984 kB / 355.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.1155, allocations: 3.953 kB / 355.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1156, allocations: 39.92 kB / 356 MB, free: 6.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.1162, allocations: 382.3 kB / 356.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.1164, allocations: 115.9 kB / 356.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1165, allocations: 50.55 kB / 356.5 MB, free: 6.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1166, allocations: 8.062 kB / 356.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.1168, allocations: 75.34 kB / 356.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1168, allocations: 0 / 356.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003855/0.1172, allocations: 157.2 kB / 356.7 MB, free: 5.883 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.1174, allocations: 166.2 kB / 356.9 MB, free: 5.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.1178, allocations: 322.7 kB / 357.2 MB, free: 5.355 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1178, allocations: 33.7 kB / 357.2 MB, free: 5.316 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.1179, allocations: 120.1 kB / 357.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1179, allocations: 15.81 kB / 357.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.118, allocations: 0 / 357.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1181, allocations: 343 kB / 357.7 MB, free: 4.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.1182, allocations: 23.98 kB / 357.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1183, allocations: 90.77 kB / 357.8 MB, free: 4.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.1184, allocations: 32 kB / 357.9 MB, free: 4.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1184, allocations: 0 / 357.9 MB, free: 4.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002185/0.1186, allocations: 125.2 kB / 358 MB, free: 4.539 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1186, allocations: 11.95 kB / 358 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1187, allocations: 0 / 358 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1187, allocations: 0 / 358 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1188, allocations: 16 kB / 358 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1188, allocations: 12.11 kB / 358 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.1189, allocations: 11.94 kB / 358 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1189, allocations: 4 kB / 358 MB, free: 4.484 MB / 286.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.1192, allocations: 150.1 kB / 358.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.1193, allocations: 65.34 kB / 358.2 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.1193, allocations: 37.66 kB / 358.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1193, allocations: 0 / 358.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1194, allocations: 4 kB / 358.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1194, allocations: 4.062 kB / 358.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1196, allocations: 233.6 kB / 358.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1196, allocations: 3.938 kB / 358.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.1197, allocations: 11.98 kB / 358.5 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1197, allocations: 4 kB / 358.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1197, allocations: 4 kB / 358.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1197, allocations: 7.953 kB / 358.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1197, allocations: 0 / 358.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.12, allocations: 162.5 kB / 358.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1201, allocations: 120.7 kB / 358.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1201, allocations: 4 kB / 358.8 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.1202, allocations: 7.984 kB / 358.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.1203, allocations: 11.95 kB / 358.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1203, allocations: 7.984 kB / 358.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1205, allocations: 237.9 kB / 359.1 MB, free: 3.324 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1205, allocations: 4 kB / 359.1 MB, free: 3.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1208, allocations: 32 kB / 359.1 MB, free: 3.289 MB / 286.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 (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.001423/0.1222, allocations: 1.018 MB / 360.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1225, allocations: 71.84 kB / 360.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1225, allocations: 3.938 kB / 360.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.1226, allocations: 27.98 kB / 360.2 MB, free: 2.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.123, allocations: 72.98 kB / 360.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1248, allocations: 1.158 MB / 361.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1252, allocations: 0.74 MB / 362.2 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.1253, allocations: 33.5 kB / 362.2 MB, free: 200 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.1254, allocations: 59.42 kB / 362.3 MB, free: 140 kB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1254, allocations: 0 / 362.3 MB, free: 140 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.1409, allocations: 4.629 MB / 366.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.1412, allocations: 246.9 kB / 367.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.31, allocations: 3.938 kB / 367.2 MB, free: 11.44 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat