Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001178/0.001178, allocations: 172.4 kB / 16.14 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0008145/0.0008142, allocations: 94.36 kB / 270.7 MB, free: 8.23 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.08852/0.08852, allocations: 12.58 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 16 kB / 392.8 MB, free: 65.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09069, allocations: 50.37 MB / 443.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001976/0.09272, allocations: 1.546 MB / 444.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.09374, allocations: 0.6439 MB / 445.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.09394, allocations: 4 kB / 445.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.0941, allocations: 23.86 kB / 445.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.09424, allocations: 11.86 kB / 445.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.09462, allocations: 91.84 kB / 445.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.09477, allocations: 131.5 kB / 445.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.09491, allocations: 53.7 kB / 445.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.09501, allocations: 43.72 kB / 445.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.09509, allocations: 43.72 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.09512, allocations: 4 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.09515, allocations: 4 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.09522, allocations: 23.84 kB / 445.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.09528, allocations: 73.33 kB / 445.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.09542, allocations: 127.7 kB / 446 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09543, allocations: 0 / 446 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09544, allocations: 0 / 446 MB, free: 12.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.09545, allocations: 4 kB / 446 MB, free: 12.46 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004887/0.09595, allocations: 423.1 kB / 446.4 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.096, allocations: 11.97 kB / 446.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.09604, allocations: 54.67 kB / 446.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.09609, allocations: 24.66 kB / 446.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.09631, allocations: 236.9 kB / 446.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.09633, allocations: 15.88 kB / 446.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.09637, allocations: 8 kB / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.09691, allocations: 319.9 kB / 447 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.09693, allocations: 4 kB / 447 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.09695, allocations: 0 / 447 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.09697, allocations: 4 kB / 447 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.09717, allocations: 87.88 kB / 447.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.09761, allocations: 423.4 kB / 447.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.09799, allocations: 314.1 kB / 447.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.09816, allocations: 108.4 kB / 448 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.0982, allocations: 12 kB / 448 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.09822, allocations: 42.5 kB / 448 MB, free: 10.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.09823, allocations: 0 / 448 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004983/0.09873, allocations: 237.2 kB / 448.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.09882, allocations: 192.7 kB / 448.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.09895, allocations: 186.9 kB / 448.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.09897, allocations: 33.7 kB / 448.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.09902, allocations: 100.5 kB / 448.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.09905, allocations: 23.77 kB / 448.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-06/0.09907, allocations: 4 kB / 448.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.09912, allocations: 322.8 kB / 449.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.09919, allocations: 27.98 kB / 449.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.09929, allocations: 143.3 kB / 449.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.09945, allocations: 182.4 kB / 449.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.09946, allocations: 0 / 449.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002304/0.09969, allocations: 173.2 kB / 449.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.09972, allocations: 11.98 kB / 449.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.09973, allocations: 4 kB / 449.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.09975, allocations: 7.938 kB / 449.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.09987, allocations: 35.98 kB / 449.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.09989, allocations: 15.88 kB / 449.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.09999, allocations: 20.31 kB / 449.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1, allocations: 11.98 kB / 449.7 MB, free: 8.254 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.472e-05/0.1001, allocations: 138.6 kB / 449.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.1003, allocations: 153.5 kB / 450 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.1004, allocations: 29.42 kB / 450 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1004, allocations: 4 kB / 450 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1004, allocations: 3.938 kB / 450 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1004, allocations: 0 / 450 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1006, allocations: 221.4 kB / 450.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1006, allocations: 4 kB / 450.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.1008, allocations: 43.91 kB / 450.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1008, allocations: 4 kB / 450.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1008, allocations: 4 kB / 450.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1008, allocations: 0 / 450.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1008, allocations: 7.938 kB / 450.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.1012, allocations: 375.7 kB / 450.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.1012, allocations: 116.8 kB / 450.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1013, allocations: 4 kB / 450.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1014, allocations: 16 kB / 450.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1015, allocations: 7.922 kB / 450.8 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1015, allocations: 16 kB / 450.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.999e-05/0.1015, allocations: 133.1 kB / 451 MB, free: 6.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1015, allocations: 0 / 451 MB, free: 6.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.1018, allocations: 24 kB / 451 MB, free: 6.867 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006053/0.1025, allocations: 0.9717 MB / 452 MB, free: 5.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1027, allocations: 128.8 kB / 452.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1027, allocations: 0 / 452.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.1028, allocations: 8 kB / 452.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.1034, allocations: 111.6 kB / 452.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1045, allocations: 0.9803 MB / 453.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.1047, allocations: 0.7318 MB / 453.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.1048, allocations: 13.55 kB / 453.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.1049, allocations: 43.42 kB / 454 MB, free: 3.707 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1049, allocations: 0 / 454 MB, free: 3.707 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.1172, allocations: 3.094 MB / 457.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.1174, allocations: 227.8 kB / 457.3 MB, free: 364 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/1.921, allocations: 0 / 457.3 MB, free: 364 kB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat