Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",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.001555/0.001555, allocations: 177.2 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.095/2.095, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001205/0.001205, allocations: 95.61 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.1094/0.1094, allocations: 12.59 MB / 322.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.986e-05, allocations: 4 kB / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 50.39 MB / 429.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.586, allocations: 77.59 MB / 0.4951 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5864, allocations: 76.53 kB / 0.4952 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01127/0.5977, allocations: 1.97 MB / 0.4971 GB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5977, allocations: 0 / 0.4971 GB, free: 11.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.5978, allocations: 3.812 kB / 0.4971 GB, free: 11.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000591/0.5984, allocations: 359.5 kB / 0.4975 GB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.022e-05/0.5985, allocations: 7.812 kB / 0.4975 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.5985, allocations: 11.72 kB / 0.4975 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.5989, allocations: 200.5 kB / 0.4977 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.5989, allocations: 3.906 kB / 0.4977 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.599, allocations: 0 / 0.4977 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001479/0.5991, allocations: 24.39 kB / 0.4977 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.5995, allocations: 102.5 kB / 0.4978 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5995, allocations: 3.844 kB / 0.4978 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.5995, allocations: 0 / 0.4978 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5996, allocations: 0 / 0.4978 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.6002, allocations: 258.2 kB / 0.4981 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.6003, allocations: 64.89 kB / 0.4981 GB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.6004, allocations: 21.55 kB / 0.4981 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.6005, allocations: 7.844 kB / 0.4982 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6005, allocations: 36.45 kB / 0.4982 GB, free: 10.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.166e-06/0.6006, allocations: 0 / 0.4982 GB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003412/0.6009, allocations: 58.56 kB / 0.4982 GB, free: 10.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.601, allocations: 106.9 kB / 0.4983 GB, free: 10.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.6013, allocations: 127.6 kB / 0.4985 GB, free: 9.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.6013, allocations: 34.52 kB / 0.4985 GB, free: 9.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.6014, allocations: 87.33 kB / 0.4986 GB, free: 9.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.6015, allocations: 2.812 kB / 0.4986 GB, free: 9.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.6015, allocations: 0 / 0.4986 GB, free: 9.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.6016, allocations: 323.7 kB / 0.4989 GB, free: 9.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.6016, allocations: 3.875 kB / 0.4989 GB, free: 9.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.6017, allocations: 33.44 kB / 0.4989 GB, free: 9.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.6018, allocations: 11.16 kB / 0.4989 GB, free: 9.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6018, allocations: 0 / 0.4989 GB, free: 9.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002056/0.602, allocations: 55.48 kB / 0.499 GB, free: 9.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.6021, allocations: 10.64 kB / 0.499 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6021, allocations: 8.062 kB / 0.499 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.6021, allocations: 0 / 0.499 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.6023, allocations: 11.53 kB / 0.499 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.6024, allocations: 10.92 kB / 0.499 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-05/0.6025, allocations: 3.844 kB / 0.499 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.6025, allocations: 0 / 0.499 GB, free: 9.422 MB / 330.7 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 () * 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.388e-05/0.6026, allocations: 108.8 kB / 0.4991 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001787/0.6028, allocations: 63.94 kB / 0.4992 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.6029, allocations: 7.75 kB / 0.4992 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.6029, allocations: 14.61 kB / 0.4992 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6029, allocations: 0 / 0.4992 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.603, allocations: 0 / 0.4992 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.603, allocations: 0 / 0.4992 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.6033, allocations: 152.8 kB / 0.4994 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6033, allocations: 0 / 0.4994 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.6034, allocations: 9.969 kB / 0.4994 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6035, allocations: 3.844 kB / 0.4994 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6035, allocations: 6.391 kB / 0.4994 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6035, allocations: 0 / 0.4994 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6035, allocations: 3.844 kB / 0.4994 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.6038, allocations: 186.7 kB / 0.4996 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.604, allocations: 104.6 kB / 0.4997 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.604, allocations: 0 / 0.4997 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.6042, allocations: 3.906 kB / 0.4997 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.6043, allocations: 5.922 kB / 0.4997 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.6044, allocations: 7.891 kB / 0.4997 GB, free: 8.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002906/0.6047, allocations: 106 kB / 0.4998 GB, free: 8.723 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.6047, allocations: 0 / 0.4998 GB, free: 8.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001479/0.6063, allocations: 3.938 kB / 0.4998 GB, free: 8.723 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: 0 () * Number of discrete 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.001142/0.6074, allocations: 0.8635 MB / 0.5006 GB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.6078, allocations: 21.59 kB / 0.5007 GB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.6078, allocations: 8 kB / 0.5007 GB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.608, allocations: 3.938 kB / 0.5007 GB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.6086, allocations: 24.2 kB / 0.5007 GB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/0.6096, allocations: 133.6 kB / 0.5008 GB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.6099, allocations: 0.6978 MB / 0.5015 GB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.61, allocations: 4.438 kB / 0.5015 GB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.6101, allocations: 24.75 kB / 0.5015 GB, free: 7.008 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6101, allocations: 0 / 0.5015 GB, free: 7.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.6452, allocations: 1.076 MB / 0.5026 GB, free: 6.93 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/0.6456, allocations: 161.6 kB / 0.5027 GB, free: 6.742 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.066, allocations: 0 / 0.5027 GB, free: 6.742 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat