Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.002235/0.002241, allocations: 186.9 kB / 15.81 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001134/0.001134, allocations: 90.86 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1218/0.1218, allocations: 12.58 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005525/0.0005527, allocations: 14.66 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09717, allocations: 50.38 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002378/0.09961, allocations: 1.522 MB / 444 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.101, allocations: 0.6209 MB / 444.6 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1011, allocations: 3.938 kB / 444.6 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.1012, allocations: 7.922 kB / 444.6 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1014, allocations: 31.89 kB / 444.7 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1019, allocations: 87.78 kB / 444.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1021, allocations: 95.67 kB / 444.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1023, allocations: 49.69 kB / 444.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1024, allocations: 31.8 kB / 444.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1025, allocations: 43.77 kB / 445 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1026, allocations: 4 kB / 445 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.1026, allocations: 0 / 445 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.1027, allocations: 23.86 kB / 445 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.1027, allocations: 49.64 kB / 445 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1029, allocations: 80.67 kB / 445.1 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1029, allocations: 4 kB / 445.1 MB, free: 8.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1029, allocations: 0 / 445.1 MB, free: 8.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1029, allocations: 0 / 445.1 MB, free: 8.133 MB / 282.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.0006226/0.1035, allocations: 434.8 kB / 445.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1036, allocations: 12.03 kB / 445.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.1037, allocations: 42.55 kB / 445.6 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1037, allocations: 19.81 kB / 445.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.104, allocations: 231.6 kB / 445.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1041, allocations: 8.188 kB / 445.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1041, allocations: 8 kB / 445.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.1049, allocations: 304.2 kB / 446.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1049, allocations: 0 / 446.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1049, allocations: 0 / 446.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1049, allocations: 7.938 kB / 446.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.1053, allocations: 83.88 kB / 446.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.1059, allocations: 435.3 kB / 446.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.1065, allocations: 306.3 kB / 447 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.1066, allocations: 4.125 kB / 447 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1066, allocations: 38.56 kB / 447 MB, free: 5.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.525e-06/0.1066, allocations: 4 kB / 447 MB, free: 5.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008182/0.1075, allocations: 229.5 kB / 447.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.1076, allocations: 199.9 kB / 447.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1078, allocations: 182.9 kB / 447.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1078, allocations: 29.7 kB / 447.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.1079, allocations: 100.1 kB / 447.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1079, allocations: 15.89 kB / 447.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.1079, allocations: 4 kB / 447.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.108, allocations: 326.9 kB / 448.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.1081, allocations: 19.98 kB / 448.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1083, allocations: 130.6 kB / 448.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1084, allocations: 43.97 kB / 448.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.1085, allocations: 0 / 448.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004102/0.1089, allocations: 173.1 kB / 448.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1089, allocations: 8 kB / 448.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1089, allocations: 4 kB / 448.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.109, allocations: 4.5 kB / 448.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1092, allocations: 40.3 kB / 448.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1092, allocations: 4 kB / 448.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1094, allocations: 15.92 kB / 448.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1094, allocations: 15.95 kB / 448.5 MB, free: 4.332 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001291/0.1095, allocations: 145.4 kB / 448.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.11, allocations: 157.5 kB / 448.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.11, allocations: 21.44 kB / 448.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.11, allocations: 4 kB / 448.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1101, allocations: 4 kB / 448.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1101, allocations: 3.984 kB / 448.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.1104, allocations: 213.5 kB / 449.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1104, allocations: 0 / 449.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.1107, allocations: 51.94 kB / 449.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.1107, allocations: 0 / 449.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1108, allocations: 8 kB / 449.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1108, allocations: 0 / 449.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1108, allocations: 4 kB / 449.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.1114, allocations: 419.9 kB / 449.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1115, allocations: 116.8 kB / 449.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.1116, allocations: 4 kB / 449.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1118, allocations: 12 kB / 449.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1119, allocations: 7.984 kB / 449.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1119, allocations: 4 kB / 449.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.112, allocations: 137.1 kB / 449.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.112, allocations: 4 kB / 449.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004581/0.1125, allocations: 20 kB / 449.8 MB, free: 2.891 MB / 282.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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001022/0.1135, allocations: 1.22 MB / 451.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.1141, allocations: 116.7 kB / 451.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.1141, allocations: 0 / 451.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.1142, allocations: 23.98 kB / 451.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.115, allocations: 112.1 kB / 451.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.1193, allocations: 3.317 MB / 454.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1197, allocations: 0.7241 MB / 455.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.1199, allocations: 13.55 kB / 455.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.12, allocations: 39.42 kB / 455.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.12, allocations: 3.938 kB / 455.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.147, allocations: 2.987 MB / 458.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003526/0.1475, allocations: 217.2 kB / 458.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/2.815, allocations: 0 / 458.6 MB, free: 9.895 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat