Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",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.002057/0.002057, allocations: 181 kB / 8.049 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.3/2.3, allocations: 205.3 MB / 213.8 MB, free: 1.738 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.001146/0.001145, allocations: 94.56 kB / 261.8 MB, free: 1.676 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.1016/0.1016, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.808e-05, allocations: 0 / 379 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3624, allocations: 50.35 MB / 429.4 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5077, allocations: 77.6 MB / 0.4951 GB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5081, allocations: 79.95 kB / 0.4952 GB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.5198, allocations: 1.978 MB / 0.4971 GB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5199, allocations: 4 kB / 0.4971 GB, free: 2.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.5199, allocations: 0 / 0.4971 GB, free: 2.465 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.0007506/0.5207, allocations: 358.4 kB / 0.4975 GB, free: 2.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.359e-05/0.5208, allocations: 12.03 kB / 0.4975 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.5209, allocations: 7.906 kB / 0.4975 GB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.5213, allocations: 199.7 kB / 0.4977 GB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5214, allocations: 4 kB / 0.4977 GB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5214, allocations: 0 / 0.4977 GB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.5215, allocations: 19.94 kB / 0.4977 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.5219, allocations: 105.9 kB / 0.4978 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5219, allocations: 0 / 0.4978 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.522, allocations: 0 / 0.4978 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.522, allocations: 4 kB / 0.4978 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.5227, allocations: 259.2 kB / 0.4981 GB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.5229, allocations: 59.73 kB / 0.4981 GB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5231, allocations: 30.7 kB / 0.4981 GB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.5232, allocations: 0 / 0.4981 GB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/0.5232, allocations: 34.56 kB / 0.4982 GB, free: 1.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.795e-06/0.5233, allocations: 3.938 kB / 0.4982 GB, free: 1.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003973/0.5237, allocations: 57.59 kB / 0.4982 GB, free: 1.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5238, allocations: 110.8 kB / 0.4983 GB, free: 1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.524, allocations: 131.2 kB / 0.4985 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.5241, allocations: 25.7 kB / 0.4985 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.5242, allocations: 88.14 kB / 0.4986 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.5242, allocations: 0 / 0.4986 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.5242, allocations: 0 / 0.4986 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.5245, allocations: 328 kB / 0.4989 GB, free: 428 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.5246, allocations: 8 kB / 0.4989 GB, free: 420 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.5247, allocations: 31.38 kB / 0.4989 GB, free: 376 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.615e-05/0.5247, allocations: 4 kB / 0.4989 GB, free: 372 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5248, allocations: 3.938 kB / 0.4989 GB, free: 368 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.525, allocations: 61.62 kB / 0.499 GB, free: 300 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.5251, allocations: 4 kB / 0.499 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5251, allocations: 4 kB / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5251, allocations: 0 / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.5253, allocations: 15.92 kB / 0.499 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5254, allocations: 4 kB / 0.499 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.5255, allocations: 0 / 0.499 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.5255, allocations: 4 kB / 0.499 GB, free: 268 kB / 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 0.0001323/0.5256, allocations: 104.9 kB / 0.4991 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002229/0.5259, allocations: 69.56 kB / 0.4992 GB, free: 80 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.526, allocations: 8 kB / 0.4992 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.5261, allocations: 15.94 kB / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5261, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5261, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5261, allocations: 4 kB / 0.4992 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.5265, allocations: 150.2 kB / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5265, allocations: 0 / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.5267, allocations: 16.08 kB / 0.4994 GB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.5267, allocations: 8 kB / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5268, allocations: 0 / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.5268, allocations: 0 / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/0.5268, allocations: 7.938 kB / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.5272, allocations: 188.6 kB / 0.4996 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.5273, allocations: 92.94 kB / 0.4997 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.5274, allocations: 7.984 kB / 0.4997 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.5276, allocations: 4 kB / 0.4997 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.5277, allocations: 4 kB / 0.4997 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.5277, allocations: 3.953 kB / 0.4997 GB, free: 15.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.5279, allocations: 104 kB / 0.4998 GB, free: 15.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.5279, allocations: 0 / 0.4998 GB, free: 15.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.5285, allocations: 8 kB / 0.4998 GB, free: 15.38 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.000805/0.5293, allocations: 0.8588 MB / 0.5006 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.5295, allocations: 23.94 kB / 0.5006 GB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5295, allocations: 0 / 0.5006 GB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.5296, allocations: 4 kB / 0.5006 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.5301, allocations: 27.27 kB / 0.5007 GB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.531, allocations: 139.4 kB / 0.5008 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.5315, allocations: 0.7045 MB / 0.5015 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.5316, allocations: 4.172 kB / 0.5015 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.5317, allocations: 19.44 kB / 0.5015 GB, free: 13.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5317, allocations: 0 / 0.5015 GB, free: 13.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.5699, allocations: 1.081 MB / 0.5026 GB, free: 12.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.5703, allocations: 163 kB / 0.5027 GB, free: 12.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/2.926, allocations: 0 / 0.5027 GB, free: 12.21 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat