Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.0008741/0.0008742, allocations: 92.09 kB / 16.3 MB, free: 5.996 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.0008863/0.0008864, allocations: 187.4 kB / 17.2 MB, free: 5.91 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.474/1.474, allocations: 223.2 MB / 241.1 MB, free: 5.414 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 7.656 kB / 300.8 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 50.42 MB / 351.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001791/0.1217, allocations: 1.275 MB / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.1225, allocations: 483.1 kB / 353 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.1226, allocations: 0 / 353 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.1227, allocations: 3.938 kB / 353 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1228, allocations: 7.984 kB / 353 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.123, allocations: 51.81 kB / 353 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.1231, allocations: 31.91 kB / 353.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.1232, allocations: 20.09 kB / 353.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.1233, allocations: 19.94 kB / 353.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.1234, allocations: 11.92 kB / 353.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1234, allocations: 4 kB / 353.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.1234, allocations: 3.938 kB / 353.1 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.1235, allocations: 15.92 kB / 353.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1235, allocations: 37.64 kB / 353.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.1236, allocations: 27.94 kB / 353.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1236, allocations: 0 / 353.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1236, allocations: 7.984 kB / 353.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1236, allocations: 0 / 353.2 MB, free: 9.641 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004384/0.1241, allocations: 367.1 kB / 353.6 MB, free: 9.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1241, allocations: 8.031 kB / 353.6 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.1241, allocations: 30.56 kB / 353.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.1242, allocations: 15.8 kB / 353.6 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1244, allocations: 198.8 kB / 353.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1244, allocations: 3.984 kB / 353.8 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1244, allocations: 8 kB / 353.8 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.1247, allocations: 113.9 kB / 353.9 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1247, allocations: 0 / 353.9 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1248, allocations: 3.953 kB / 354 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1248, allocations: 0 / 354 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.1249, allocations: 31.92 kB / 354 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1252, allocations: 270.7 kB / 354.2 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1253, allocations: 75.78 kB / 354.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1254, allocations: 64 / 354.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1254, allocations: 38.52 kB / 354.4 MB, free: 8.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1254, allocations: 0 / 354.4 MB, free: 8.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002802/0.1257, allocations: 101.6 kB / 354.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.1258, allocations: 106.8 kB / 354.6 MB, free: 8.055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1259, allocations: 136.8 kB / 354.7 MB, free: 7.914 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1259, allocations: 25.7 kB / 354.7 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.126, allocations: 100 kB / 354.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.126, allocations: 0 / 354.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.126, allocations: 4.188 kB / 354.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1261, allocations: 314.8 kB / 355.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.1262, allocations: 11.98 kB / 355.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.1262, allocations: 39.42 kB / 355.2 MB, free: 7.398 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.1263, allocations: 19.94 kB / 355.2 MB, free: 7.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1263, allocations: 0 / 355.2 MB, free: 7.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.1264, allocations: 77.47 kB / 355.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1265, allocations: 4 kB / 355.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1265, allocations: 4 kB / 355.3 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1265, allocations: 4.125 kB / 355.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.1266, allocations: 15.92 kB / 355.3 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1266, allocations: 0 / 355.3 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1266, allocations: 11.94 kB / 355.3 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1267, allocations: 4 kB / 355.3 MB, free: 7.254 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.41e-05/0.1267, allocations: 121.8 kB / 355.4 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.1268, allocations: 49.56 kB / 355.5 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.1269, allocations: 19.92 kB / 355.5 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.1269, allocations: 4 kB / 355.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1269, allocations: 0 / 355.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1269, allocations: 0 / 355.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1271, allocations: 177.5 kB / 355.7 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1271, allocations: 0 / 355.7 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.1271, allocations: 11.98 kB / 355.7 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1272, allocations: 0 / 355.7 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1272, allocations: 11.95 kB / 355.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1272, allocations: 0 / 355.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1272, allocations: 0 / 355.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1274, allocations: 204.5 kB / 355.9 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1275, allocations: 100.9 kB / 356 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1275, allocations: 0 / 356 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.1276, allocations: 8 kB / 356 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1276, allocations: 3.984 kB / 356 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1276, allocations: 4 kB / 356 MB, free: 6.43 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.1277, allocations: 104.8 kB / 356.1 MB, free: 6.328 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1277, allocations: 0 / 356.1 MB, free: 6.328 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.128, allocations: 7.984 kB / 356.1 MB, free: 6.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005211/0.1285, allocations: 0.8824 MB / 357 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.1286, allocations: 31.92 kB / 357 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1286, allocations: 0 / 357 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.1287, allocations: 15.92 kB / 357.1 MB, free: 5.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.129, allocations: 20.02 kB / 357.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.13, allocations: 0.9827 MB / 358.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1303, allocations: 0.6966 MB / 358.8 MB, free: 3.559 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.1303, allocations: 4.172 kB / 358.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.1304, allocations: 19.44 kB / 358.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1304, allocations: 0 / 358.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.1409, allocations: 1.408 MB / 360.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1411, allocations: 191.5 kB / 360.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/1.897, allocations: 0 / 360.4 MB, free: 2.035 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat