Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample",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.002345/0.002345, allocations: 177.7 kB / 8.045 MB, free: 1.027 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.756/2.756, allocations: 205.3 MB / 213.8 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 82.59 kB / 261.8 MB, free: 1.691 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.1669/0.1669, allocations: 12.6 MB / 322.3 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.858e-05, allocations: 4 kB / 379 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4065, allocations: 50.36 MB / 429.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.5473, allocations: 77.59 MB / 0.4951 GB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5478, allocations: 71.95 kB / 0.4952 GB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005846/0.5536, allocations: 1.443 MB / 0.4966 GB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.5537, allocations: 0 / 0.4966 GB, free: 3.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.5537, allocations: 4 kB / 0.4966 GB, free: 3.035 MB / 346.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.0004576/0.5542, allocations: 346.4 kB / 0.4969 GB, free: 2.652 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5542, allocations: 12.03 kB / 0.4969 GB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.5543, allocations: 7.906 kB / 0.4969 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.5546, allocations: 203.8 kB / 0.4971 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.5546, allocations: 0 / 0.4971 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.5546, allocations: 0 / 0.4971 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.5547, allocations: 23.94 kB / 0.4972 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.555, allocations: 101.9 kB / 0.4973 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.555, allocations: 0 / 0.4973 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.555, allocations: 0 / 0.4973 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.5551, allocations: 4 kB / 0.4973 GB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.5555, allocations: 255.2 kB / 0.4975 GB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5556, allocations: 63.72 kB / 0.4976 GB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.5557, allocations: 30.7 kB / 0.4976 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.5557, allocations: 0 / 0.4976 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.5558, allocations: 38.56 kB / 0.4976 GB, free: 1.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5558, allocations: 3.938 kB / 0.4976 GB, free: 1.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.556, allocations: 53.69 kB / 0.4977 GB, free: 1.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.5561, allocations: 114.8 kB / 0.4978 GB, free: 1.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.5562, allocations: 131.2 kB / 0.4979 GB, free: 1.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5563, allocations: 25.7 kB / 0.4979 GB, free: 1.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.5563, allocations: 84.14 kB / 0.498 GB, free: 1.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.5564, allocations: 4 kB / 0.498 GB, free: 1.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.5564, allocations: 3.938 kB / 0.498 GB, free: 1.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5565, allocations: 322.8 kB / 0.4983 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.5566, allocations: 11.94 kB / 0.4984 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.5566, allocations: 27.44 kB / 0.4984 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.5567, allocations: 4 kB / 0.4984 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5567, allocations: 0 / 0.4984 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.5568, allocations: 61.53 kB / 0.4984 GB, free: 0.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.5569, allocations: 8 kB / 0.4985 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5569, allocations: 0 / 0.4985 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5569, allocations: 0 / 0.4985 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.557, allocations: 15.92 kB / 0.4985 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5571, allocations: 4 kB / 0.4985 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.5571, allocations: 4 kB / 0.4985 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5571, allocations: 0 / 0.4985 GB, free: 0.8438 MB / 346.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.576e-05/0.5572, allocations: 117 kB / 0.4986 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000145/0.5574, allocations: 61.53 kB / 0.4986 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.5575, allocations: 7.906 kB / 0.4987 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.5575, allocations: 11.95 kB / 0.4987 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5575, allocations: 0 / 0.4987 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5575, allocations: 4 kB / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5575, allocations: 0 / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.5577, allocations: 150.2 kB / 0.4988 GB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5578, allocations: 4 kB / 0.4988 GB, free: 456 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.5579, allocations: 16.08 kB / 0.4988 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5579, allocations: 0 / 0.4988 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.5579, allocations: 96 / 0.4988 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.5579, allocations: 4 kB / 0.4988 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5579, allocations: 3.938 kB / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.5582, allocations: 192.5 kB / 0.499 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.5583, allocations: 97 kB / 0.4991 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.5583, allocations: 0 / 0.4991 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5585, allocations: 7.984 kB / 0.4991 GB, free: 80 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.5585, allocations: 0 / 0.4991 GB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.5585, allocations: 7.953 kB / 0.4991 GB, free: 72 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.5586, allocations: 104 kB / 0.4992 GB, free: 15.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.274e-06/0.5587, allocations: 0 / 0.4992 GB, free: 15.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.559, allocations: 11.94 kB / 0.4992 GB, free: 15.96 MB / 362.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.0005394/0.5595, allocations: 0.86 MB / 0.5001 GB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.5596, allocations: 19.94 kB / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5597, allocations: 0 / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.5597, allocations: 4 kB / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.5601, allocations: 31.33 kB / 0.5001 GB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.5606, allocations: 132 kB / 0.5003 GB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5609, allocations: 0.7118 MB / 0.501 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.561, allocations: 4.188 kB / 0.501 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.5611, allocations: 15.42 kB / 0.501 GB, free: 14.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5611, allocations: 0 / 0.501 GB, free: 14.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.5994, allocations: 1.117 MB / 0.5021 GB, free: 12.96 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.5997, allocations: 165.6 kB / 0.5022 GB, free: 12.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.986, allocations: 0 / 0.5022 GB, free: 12.76 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat