Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.0007693/0.0007693, allocations: 86 kB / 16.31 MB, free: 6.449 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.0009827/0.000983, allocations: 181.6 kB / 17.21 MB, free: 6.32 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.465/1.465, allocations: 223.3 MB / 241.2 MB, free: 14.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 8 kB / 300.9 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 50.41 MB / 351.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001954/0.136, allocations: 1.276 MB / 352.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.1369, allocations: 479.1 kB / 353.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.137, allocations: 0 / 353.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.137, allocations: 3.938 kB / 353.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1372, allocations: 19.91 kB / 353.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1374, allocations: 34.53 kB / 353.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1376, allocations: 47.78 kB / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.1377, allocations: 8.188 kB / 353.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.1378, allocations: 27.91 kB / 353.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.1378, allocations: 19.86 kB / 353.3 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1379, allocations: 4 kB / 353.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.1379, allocations: 0 / 353.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.1379, allocations: 8 kB / 353.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.138, allocations: 37.64 kB / 353.3 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.715e-05/0.1381, allocations: 35.92 kB / 353.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.1381, allocations: 0 / 353.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1381, allocations: 0 / 353.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1381, allocations: 0 / 353.3 MB, free: 1.672 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.000498/0.1386, allocations: 379.2 kB / 353.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1386, allocations: 8.031 kB / 353.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.1387, allocations: 34.56 kB / 353.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1387, allocations: 11.91 kB / 353.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.139, allocations: 193.6 kB / 353.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.139, allocations: 4 kB / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.139, allocations: 0 / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1393, allocations: 121.8 kB / 354.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1393, allocations: 0 / 354.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1393, allocations: 4 kB / 354.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1393, allocations: 0 / 354.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.1394, allocations: 27.92 kB / 354.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1399, allocations: 270.6 kB / 354.4 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1401, allocations: 75.73 kB / 354.4 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.1401, allocations: 34.62 kB / 354.5 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1402, allocations: 7.984 kB / 354.5 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1402, allocations: 42.5 kB / 354.5 MB, free: 272 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.1402, allocations: 0 / 354.5 MB, free: 272 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000271/0.1405, allocations: 89.83 kB / 354.6 MB, free: 176 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.1406, allocations: 106.8 kB / 354.7 MB, free: 44 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1407, allocations: 141.8 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1407, allocations: 25.7 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.1408, allocations: 92.05 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.1408, allocations: 3.984 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.1408, allocations: 7.938 kB / 355 MB, free: 15.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.141, allocations: 322.8 kB / 355.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.141, allocations: 19.92 kB / 355.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.285e-05/0.1411, allocations: 27.44 kB / 355.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.1411, allocations: 19.98 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1411, allocations: 3.953 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.1413, allocations: 73.52 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/0.1414, allocations: 8 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1414, allocations: 0 / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1414, allocations: 128 / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.1415, allocations: 19.94 kB / 355.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1415, allocations: 4 kB / 355.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.1415, allocations: 3.984 kB / 355.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1416, allocations: 4 kB / 355.5 MB, free: 15.23 MB / 302.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.268e-05/0.1416, allocations: 113.8 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.1417, allocations: 61.48 kB / 355.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.1418, allocations: 12.03 kB / 355.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1418, allocations: 7.984 kB / 355.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1418, allocations: 0 / 355.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1418, allocations: 0 / 355.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.142, allocations: 173.6 kB / 355.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.142, allocations: 0 / 355.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.1421, allocations: 11.95 kB / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1421, allocations: 4 kB / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1421, allocations: 0 / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1421, allocations: 3.984 kB / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1421, allocations: 0 / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.1423, allocations: 189.1 kB / 356 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.1424, allocations: 89 kB / 356.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1424, allocations: 3.953 kB / 356.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1425, allocations: 8 kB / 356.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1426, allocations: 4 kB / 356.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1426, allocations: 4 kB / 356.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.1426, allocations: 109.8 kB / 356.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1427, allocations: 0 / 356.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1429, allocations: 8 kB / 356.3 MB, free: 14.34 MB / 302.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.0005284/0.1434, allocations: 0.7178 MB / 357 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1436, allocations: 40.09 kB / 357 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1436, allocations: 4 kB / 357 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.1436, allocations: 8 kB / 357 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.144, allocations: 27.95 kB / 357.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.145, allocations: 0.5379 MB / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1454, allocations: 0.6965 MB / 358.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.1455, allocations: 4.188 kB / 358.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.1455, allocations: 15.5 kB / 358.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1455, allocations: 0 / 358.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.1601, allocations: 1.455 MB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.1604, allocations: 213.5 kB / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.049, allocations: 0 / 360 MB, free: 10.61 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat