Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",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.001532/0.001531, 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.716/2.716, 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.001129/0.001129, allocations: 91.98 kB / 261.8 MB, free: 1.68 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.1033/0.1033, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.079e-05, allocations: 0 / 379 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3308, allocations: 50.36 MB / 429.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.5059, allocations: 77.69 MB / 0.4952 GB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5063, allocations: 75.95 kB / 0.4953 GB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006398/0.5127, allocations: 1.553 MB / 0.4968 GB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5128, allocations: 4 kB / 0.4968 GB, free: 2.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.5128, allocations: 4 kB / 0.4968 GB, free: 2.891 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000466/0.5133, allocations: 366.2 kB / 0.4972 GB, free: 2.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5133, allocations: 12.03 kB / 0.4972 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.5134, allocations: 7.906 kB / 0.4972 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5137, allocations: 197.3 kB / 0.4974 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5137, allocations: 7.953 kB / 0.4974 GB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.5137, allocations: 4 kB / 0.4974 GB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/0.5139, allocations: 19.94 kB / 0.4974 GB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.5142, allocations: 126.7 kB / 0.4975 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5142, allocations: 0 / 0.4975 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5142, allocations: 12 kB / 0.4975 GB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5142, allocations: 0 / 0.4975 GB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.5147, allocations: 275.9 kB / 0.4978 GB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5149, allocations: 82.44 kB / 0.4979 GB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.515, allocations: 43.48 kB / 0.4979 GB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.515, allocations: 0 / 0.4979 GB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.515, allocations: 34.56 kB / 0.4979 GB, free: 1.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.5151, allocations: 0 / 0.4979 GB, free: 1.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002344/0.5153, allocations: 69.53 kB / 0.498 GB, free: 1.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.5154, allocations: 136.5 kB / 0.4981 GB, free: 1.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.5156, allocations: 133.8 kB / 0.4983 GB, free: 1.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.5156, allocations: 25.7 kB / 0.4983 GB, free: 1.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.5157, allocations: 92.33 kB / 0.4984 GB, free: 1.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5157, allocations: 0 / 0.4984 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.5157, allocations: 3.938 kB / 0.4984 GB, free: 1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5158, allocations: 318.8 kB / 0.4987 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.5159, allocations: 4 kB / 0.4987 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.516, allocations: 45.16 kB / 0.4987 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.516, allocations: 19.92 kB / 0.4988 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.516, allocations: 0 / 0.4988 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001496/0.5162, allocations: 69.55 kB / 0.4988 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5162, allocations: 8 kB / 0.4988 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5162, allocations: 0 / 0.4988 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5163, allocations: 4 kB / 0.4988 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5164, allocations: 19.92 kB / 0.4988 GB, free: 500 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5164, allocations: 0 / 0.4988 GB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.5165, allocations: 4 kB / 0.4989 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.5166, allocations: 8 kB / 0.4989 GB, free: 488 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.198e-05/0.5166, allocations: 109 kB / 0.499 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001663/0.5168, allocations: 73.48 kB / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.5169, allocations: 15.8 kB / 0.4991 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.5169, allocations: 11.97 kB / 0.4991 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.517, allocations: 0 / 0.4991 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.517, allocations: 11.88 kB / 0.4991 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.517, allocations: 0 / 0.4991 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.5172, allocations: 154.2 kB / 0.4992 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5172, allocations: 4.078 kB / 0.4992 GB, free: 60 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.5173, allocations: 16 kB / 0.4992 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5174, allocations: 0 / 0.4992 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5174, allocations: 7.984 kB / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5174, allocations: 0 / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5174, allocations: 0 / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5177, allocations: 220.3 kB / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.5178, allocations: 97 kB / 0.4995 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.5178, allocations: 192 / 0.4995 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5179, allocations: 11.98 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.518, allocations: 4 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.518, allocations: 0 / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.5181, allocations: 123.8 kB / 0.4997 GB, free: 15.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5181, allocations: 0 / 0.4997 GB, free: 15.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.5185, allocations: 7.953 kB / 0.4997 GB, free: 15.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.000612/0.5191, allocations: 0.9535 MB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5192, allocations: 23.94 kB / 0.5006 GB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5192, allocations: 0 / 0.5006 GB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.5193, allocations: 8 kB / 0.5007 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5197, allocations: 44.05 kB / 0.5007 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.5203, allocations: 164.3 kB / 0.5009 GB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.5206, allocations: 0.7041 MB / 0.5015 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.359e-05/0.5207, allocations: 0.6719 kB / 0.5015 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.5208, allocations: 27.42 kB / 0.5016 GB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.675e-06/0.5208, allocations: 0 / 0.5016 GB, free: 13.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.5582, allocations: 1.398 MB / 0.5029 GB, free: 12.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/0.5587, allocations: 160.3 kB / 0.5031 GB, free: 11.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/2.971, allocations: 0 / 0.5031 GB, free: 11.9 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat