Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.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.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay",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.001595/0.0016, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001643/0.001643, allocations: 90.23 kB / 261.8 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1341/0.1341, allocations: 12.6 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3.013e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 50.38 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.606, allocations: 77.81 MB / 0.4953 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.6063, allocations: 80.53 kB / 0.4954 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00809/0.6144, allocations: 2.072 MB / 0.4974 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.6145, allocations: 0 / 0.4974 GB, free: 11.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.6145, allocations: 0 / 0.4974 GB, free: 11.53 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003954/0.6149, allocations: 383.7 kB / 0.4978 GB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6149, allocations: 11.53 kB / 0.4978 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.615, allocations: 7.719 kB / 0.4978 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.6152, allocations: 198.8 kB / 0.498 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.6153, allocations: 3.953 kB / 0.498 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.6153, allocations: 3.844 kB / 0.498 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001142/0.6154, allocations: 23.17 kB / 0.498 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.6157, allocations: 142.5 kB / 0.4982 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6158, allocations: 0 / 0.4982 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6158, allocations: 0 / 0.4982 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.6158, allocations: 3.844 kB / 0.4982 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.6162, allocations: 265.1 kB / 0.4984 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.6163, allocations: 72.94 kB / 0.4985 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.6164, allocations: 35.48 kB / 0.4985 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.6164, allocations: 3.938 kB / 0.4985 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.6164, allocations: 42.75 kB / 0.4986 GB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.6164, allocations: 0 / 0.4986 GB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002326/0.6167, allocations: 75.67 kB / 0.4986 GB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.6167, allocations: 106.7 kB / 0.4988 GB, free: 10.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.6169, allocations: 132.5 kB / 0.4989 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.6169, allocations: 25.7 kB / 0.4989 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.6169, allocations: 93.55 kB / 0.499 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.617, allocations: 10.52 kB / 0.499 GB, free: 10.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.617, allocations: 0 / 0.499 GB, free: 10.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.6171, allocations: 318.5 kB / 0.4993 GB, free: 9.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.6171, allocations: 12.95 kB / 0.4993 GB, free: 9.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.6172, allocations: 54.84 kB / 0.4994 GB, free: 9.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.6173, allocations: 22.08 kB / 0.4994 GB, free: 9.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6173, allocations: 0 / 0.4994 GB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001753/0.6175, allocations: 95.05 kB / 0.4995 GB, free: 9.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6175, allocations: 9.766 kB / 0.4995 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6175, allocations: 0 / 0.4995 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6175, allocations: 3.719 kB / 0.4995 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.6177, allocations: 18.38 kB / 0.4995 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6177, allocations: 7.891 kB / 0.4995 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.6178, allocations: 3.719 kB / 0.4995 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6178, allocations: 7.844 kB / 0.4995 GB, free: 9.629 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.577e-05/0.6179, allocations: 111.2 kB / 0.4996 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001634/0.6181, allocations: 87.09 kB / 0.4997 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.6181, allocations: 11.56 kB / 0.4997 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.6182, allocations: 11.88 kB / 0.4997 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6182, allocations: 0 / 0.4997 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6182, allocations: 7 kB / 0.4997 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.6182, allocations: 0 / 0.4997 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.6184, allocations: 155.7 kB / 0.4999 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.6184, allocations: 3.953 kB / 0.4999 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.6185, allocations: 14.86 kB / 0.4999 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6186, allocations: 4.062 kB / 0.4999 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6186, allocations: 0 / 0.4999 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6186, allocations: 7.844 kB / 0.4999 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6186, allocations: 0 / 0.4999 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.6188, allocations: 203.1 kB / 0.5001 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.6189, allocations: 102.9 kB / 0.5002 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.6189, allocations: 0 / 0.5002 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.619, allocations: 3.875 kB / 0.5002 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.6191, allocations: 6.938 kB / 0.5002 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6191, allocations: 3.969 kB / 0.5002 GB, free: 9.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.6192, allocations: 105.8 kB / 0.5003 GB, free: 8.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6192, allocations: 0 / 0.5003 GB, free: 8.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003422/0.6195, allocations: 11.72 kB / 0.5003 GB, free: 8.93 MB / 330.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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00046/0.62, allocations: 0.8993 MB / 0.5012 GB, free: 8.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.6202, allocations: 43.53 kB / 0.5013 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6202, allocations: 0 / 0.5013 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.6202, allocations: 3.875 kB / 0.5013 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.6206, allocations: 42.56 kB / 0.5013 GB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.6214, allocations: 170.7 kB / 0.5015 GB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.6216, allocations: 0.7093 MB / 0.5022 GB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.6216, allocations: 9.688 kB / 0.5022 GB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.6217, allocations: 23.77 kB / 0.5022 GB, free: 7.207 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6217, allocations: 3.906 kB / 0.5022 GB, free: 7.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.6591, allocations: 1.448 MB / 0.5036 GB, free: 7.094 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.6594, allocations: 162.5 kB / 0.5038 GB, free: 6.906 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.217, allocations: 3.625 kB / 0.5038 GB, free: 6.906 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat does not exist to compare? outputFormat=mat