Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.000947/0.0009472, allocations: 96.69 kB / 16.3 MB, free: 5.992 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.001116/0.001116, allocations: 186.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.471/1.471, allocations: 223.2 MB / 241.1 MB, free: 5.332 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 6.406 kB / 300.8 MB, free: 6.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 50.42 MB / 351.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002492/0.1257, allocations: 1.298 MB / 352.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.1266, allocations: 495 kB / 353 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1268, allocations: 0 / 353 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.1268, allocations: 7.938 kB / 353 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1269, allocations: 11.97 kB / 353 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1272, allocations: 50.95 kB / 353.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1274, allocations: 43.89 kB / 353.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1275, allocations: 15.92 kB / 353.1 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.1276, allocations: 23.91 kB / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.1277, allocations: 23.86 kB / 353.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1277, allocations: 4 kB / 353.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.1277, allocations: 0 / 353.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.1277, allocations: 11.94 kB / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1278, allocations: 37.64 kB / 353.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.751e-05/0.1279, allocations: 47.84 kB / 353.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1279, allocations: 0 / 353.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.521e-06/0.1279, allocations: 4 kB / 353.3 MB, free: 9.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1279, allocations: 0 / 353.3 MB, free: 9.492 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005784/0.1285, allocations: 367.1 kB / 353.7 MB, free: 9.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1286, allocations: 8.031 kB / 353.7 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.1286, allocations: 42.55 kB / 353.7 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1287, allocations: 15.77 kB / 353.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.129, allocations: 202.8 kB / 353.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.129, allocations: 0 / 353.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.129, allocations: 4 kB / 353.9 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1294, allocations: 150.6 kB / 354.1 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1294, allocations: 7.938 kB / 354.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1295, allocations: 0 / 354.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1295, allocations: 3.953 kB / 354.1 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1296, allocations: 31.98 kB / 354.1 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1301, allocations: 283.5 kB / 354.4 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1302, allocations: 102.4 kB / 354.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1303, allocations: 0 / 354.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.1303, allocations: 46.55 kB / 354.5 MB, free: 8.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1303, allocations: 4 kB / 354.5 MB, free: 8.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003469/0.1307, allocations: 101.5 kB / 354.6 MB, free: 7.918 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.1308, allocations: 141 kB / 354.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.131, allocations: 149.3 kB / 354.9 MB, free: 7.594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1311, allocations: 25.7 kB / 354.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.1312, allocations: 96.31 kB / 355 MB, free: 7.465 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1312, allocations: 7.844 kB / 355 MB, free: 7.457 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1312, allocations: 4 kB / 355 MB, free: 7.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1314, allocations: 318.8 kB / 355.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.1315, allocations: 12 kB / 355.4 MB, free: 7.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.1316, allocations: 53.14 kB / 355.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.1317, allocations: 23.92 kB / 355.4 MB, free: 7.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1317, allocations: 4 kB / 355.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001792/0.1319, allocations: 85.45 kB / 355.5 MB, free: 6.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1319, allocations: 8 kB / 355.5 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1319, allocations: 0 / 355.5 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1319, allocations: 4.141 kB / 355.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.132, allocations: 16 kB / 355.6 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1321, allocations: 4 kB / 355.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.1321, allocations: 7.984 kB / 355.6 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1322, allocations: 7.938 kB / 355.6 MB, free: 6.887 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001544/0.1323, allocations: 121.8 kB / 355.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1324, allocations: 65.53 kB / 355.8 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.1325, allocations: 19.95 kB / 355.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1325, allocations: 4 kB / 355.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.1325, allocations: 3.953 kB / 355.8 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1325, allocations: 0 / 355.8 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1328, allocations: 173.6 kB / 356 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1329, allocations: 4 kB / 356 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.1329, allocations: 11.94 kB / 356 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.133, allocations: 4 kB / 356 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.133, allocations: 3.984 kB / 356 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.133, allocations: 4 kB / 356 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.133, allocations: 0 / 356 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1334, allocations: 247 kB / 356.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.424e-05/0.1335, allocations: 96.95 kB / 356.3 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1335, allocations: 4.188 kB / 356.3 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1336, allocations: 8 kB / 356.3 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1336, allocations: 3.984 kB / 356.3 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1336, allocations: 4 kB / 356.3 MB, free: 5.992 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1337, allocations: 111.2 kB / 356.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1338, allocations: 0 / 356.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.134, allocations: 12 kB / 356.5 MB, free: 5.871 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0007173/0.1347, allocations: 0.973 MB / 357.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1349, allocations: 47.91 kB / 357.5 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1349, allocations: 4.375 kB / 357.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.1349, allocations: 8 kB / 357.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1353, allocations: 43.91 kB / 357.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1367, allocations: 1.343 MB / 358.9 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1371, allocations: 0.7004 MB / 359.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.1371, allocations: 8.656 kB / 359.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1372, allocations: 23.42 kB / 359.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1372, allocations: 0 / 359.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.1519, allocations: 1.737 MB / 361.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003725/0.1523, allocations: 201.1 kB / 361.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.017, allocations: 0 / 361.5 MB, free: 0.7383 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat