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.001026/0.001026, allocations: 177 kB / 15.82 MB, free: 6.305 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.617/1.617, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009151/0.0009151, allocations: 90.34 kB / 270.3 MB, free: 13.37 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08299/0.08299, allocations: 12.6 MB / 331.2 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004306, allocations: 15.27 kB / 392.1 MB, free: 54.79 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 50.38 MB / 442.5 MB, free: 10.85 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001847/0.108, allocations: 1.513 MB / 444 MB, free: 9.32 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.1088, allocations: 0.6326 MB / 444.7 MB, free: 8.684 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.109, allocations: 7.938 kB / 444.7 MB, free: 8.676 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1091, allocations: 15.86 kB / 444.7 MB, free: 8.66 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1093, allocations: 15.86 kB / 444.7 MB, free: 8.645 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1096, allocations: 77.34 kB / 444.8 MB, free: 8.57 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1097, allocations: 127.6 kB / 444.9 MB, free: 8.445 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1098, allocations: 49.69 kB / 444.9 MB, free: 8.395 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.271e-05/0.1099, allocations: 39.73 kB / 445 MB, free: 8.355 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.11, allocations: 43.77 kB / 445 MB, free: 8.312 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.11, allocations: 0 / 445 MB, free: 8.312 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.11, allocations: 4 kB / 445 MB, free: 8.309 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.1101, allocations: 23.86 kB / 445 MB, free: 8.285 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.1101, allocations: 41.64 kB / 445.1 MB, free: 8.238 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.1102, allocations: 92.61 kB / 445.2 MB, free: 8.148 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1102, allocations: 0 / 445.2 MB, free: 8.148 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1102, allocations: 0 / 445.2 MB, free: 8.148 MB / 282.8 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1102, allocations: 0 / 445.2 MB, free: 8.148 MB / 282.8 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.0004966/0.1107, allocations: 434.8 kB / 445.6 MB, free: 7.676 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1108, allocations: 12.03 kB / 445.6 MB, free: 7.664 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.1108, allocations: 42.55 kB / 445.7 MB, free: 7.613 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.1109, allocations: 15.81 kB / 445.7 MB, free: 7.598 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1111, allocations: 235.7 kB / 445.9 MB, free: 7.328 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1111, allocations: 8.188 kB / 445.9 MB, free: 7.32 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1111, allocations: 8 kB / 445.9 MB, free: 7.312 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.1116, allocations: 293.2 kB / 446.2 MB, free: 7 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1116, allocations: 4 kB / 446.2 MB, free: 6.996 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1117, allocations: 0 / 446.2 MB, free: 6.996 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1117, allocations: 4 kB / 446.2 MB, free: 6.992 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1119, allocations: 83.88 kB / 446.3 MB, free: 6.91 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1122, allocations: 435.3 kB / 446.7 MB, free: 6.422 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.1126, allocations: 310 kB / 447 MB, free: 6.055 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1128, allocations: 116.4 kB / 447.1 MB, free: 5.926 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1128, allocations: 11.94 kB / 447.1 MB, free: 5.914 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1129, allocations: 38.5 kB / 447.2 MB, free: 5.867 MB / 282.8 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.1129, allocations: 0 / 447.2 MB, free: 5.867 MB / 282.8 MB Notification: Performance of matching and sorting (n=17): time 0.0004921/0.1134, allocations: 237.4 kB / 447.4 MB, free: 5.629 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1134, allocations: 192.3 kB / 447.6 MB, free: 5.398 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1136, allocations: 190.9 kB / 447.8 MB, free: 5.203 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1136, allocations: 29.7 kB / 447.8 MB, free: 5.168 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.1136, allocations: 100.1 kB / 447.9 MB, free: 5.066 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1137, allocations: 15.89 kB / 447.9 MB, free: 5.051 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.1137, allocations: 0 / 447.9 MB, free: 5.051 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.1137, allocations: 326.8 kB / 448.3 MB, free: 4.723 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.1138, allocations: 19.98 kB / 448.3 MB, free: 4.703 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.1139, allocations: 137.2 kB / 448.4 MB, free: 4.52 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.114, allocations: 47.97 kB / 448.5 MB, free: 4.473 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.114, allocations: 0 / 448.5 MB, free: 4.473 MB / 282.8 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002138/0.1142, allocations: 169.4 kB / 448.6 MB, free: 4.301 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1142, allocations: 4 kB / 448.6 MB, free: 4.297 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1142, allocations: 8 kB / 448.6 MB, free: 4.289 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1142, allocations: 8 kB / 448.6 MB, free: 4.281 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1144, allocations: 35.92 kB / 448.7 MB, free: 4.246 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1144, allocations: 4 kB / 448.7 MB, free: 4.242 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.1145, allocations: 19.88 kB / 448.7 MB, free: 4.223 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1145, allocations: 8.219 kB / 448.7 MB, free: 4.215 MB / 282.8 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 7.956e-05/0.1146, allocations: 145.9 kB / 448.8 MB, free: 4.062 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.1148, allocations: 157.2 kB / 449 MB, free: 3.902 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.1149, allocations: 25.41 kB / 449 MB, free: 3.879 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.1149, allocations: 0 / 449 MB, free: 3.879 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1149, allocations: 8.031 kB / 449 MB, free: 3.871 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1149, allocations: 3.984 kB / 449 MB, free: 3.867 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1151, allocations: 213.5 kB / 449.2 MB, free: 3.609 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1151, allocations: 0 / 449.2 MB, free: 3.609 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1152, allocations: 39.97 kB / 449.3 MB, free: 3.57 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1153, allocations: 0 / 449.3 MB, free: 3.57 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1153, allocations: 8 kB / 449.3 MB, free: 3.562 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1153, allocations: 3.938 kB / 449.3 MB, free: 3.559 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1153, allocations: 4 kB / 449.3 MB, free: 3.555 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1156, allocations: 381 kB / 449.7 MB, free: 3.156 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.1157, allocations: 104.8 kB / 449.8 MB, free: 3.035 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1157, allocations: 11.98 kB / 449.8 MB, free: 3.023 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1158, allocations: 12 kB / 449.8 MB, free: 3.012 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.1159, allocations: 11.92 kB / 449.8 MB, free: 3 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1159, allocations: 4 kB / 449.8 MB, free: 2.996 MB / 282.8 MB Notification: Performance of sorting global known variables: time 6.949e-05/0.116, allocations: 137.2 kB / 449.9 MB, free: 2.863 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.116, allocations: 0 / 449.9 MB, free: 2.863 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002788/0.1163, allocations: 23.98 kB / 450 MB, free: 2.84 MB / 282.8 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.0005116/0.1168, allocations: 0.8954 MB / 450.9 MB, free: 1.91 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.117, allocations: 119.8 kB / 451 MB, free: 1.793 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.117, allocations: 0 / 451 MB, free: 1.793 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.1171, allocations: 16.98 kB / 451 MB, free: 1.777 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.1177, allocations: 108.3 kB / 451.1 MB, free: 1.672 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1191, allocations: 0.987 MB / 452.1 MB, free: 0.5781 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1194, allocations: 0.7241 MB / 452.8 MB, free: 15.83 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.1194, allocations: 13.73 kB / 452.8 MB, free: 15.81 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.1195, allocations: 39.42 kB / 452.9 MB, free: 15.77 MB / 298.8 MB Notification: Performance of SimCode: time 2.31e-07/0.1195, allocations: 0 / 452.9 MB, free: 15.77 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.1342, allocations: 2.991 MB / 455.9 MB, free: 12.79 MB / 298.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.1345, allocations: 215.6 kB / 456.1 MB, free: 12.55 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.847, allocations: 0 / 456.1 MB, free: 12.55 MB / 298.8 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