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.0008968/0.0008968, allocations: 174.1 kB / 16.11 MB, free: 5.668 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.521/1.521, allocations: 205 MB / 221.9 MB, free: 9.133 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.0007887/0.0007888, allocations: 97.16 kB / 269.9 MB, free: 8.672 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.08039/0.08039, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08688, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002189/0.08913, allocations: 1.574 MB / 442.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.09027, allocations: 0.6477 MB / 443.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.09051, allocations: 7.938 kB / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.09073, allocations: 15.86 kB / 443.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.0909, allocations: 19.86 kB / 443.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.09133, allocations: 91.84 kB / 443.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.09154, allocations: 127.6 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.09171, allocations: 61.69 kB / 443.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.09183, allocations: 47.72 kB / 443.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.09193, allocations: 31.73 kB / 443.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.09196, allocations: 4 kB / 443.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.09198, allocations: 7.938 kB / 443.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.09205, allocations: 19.86 kB / 443.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.09211, allocations: 59.53 kB / 443.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.09226, allocations: 119.7 kB / 444 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.09228, allocations: 8 kB / 444 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09228, allocations: 0 / 444 MB, free: 13.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.0923, allocations: 0 / 444 MB, free: 13.44 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.0005132/0.09284, allocations: 431.1 kB / 444.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.0929, allocations: 8.031 kB / 444.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.09295, allocations: 38.75 kB / 444.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.09301, allocations: 28.64 kB / 444.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.09326, allocations: 240.8 kB / 444.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.09328, allocations: 15.88 kB / 444.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.09331, allocations: 8 kB / 444.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.09386, allocations: 308 kB / 445 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.09388, allocations: 0 / 445 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.0939, allocations: 8 kB / 445 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.09391, allocations: 4 kB / 445 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.09412, allocations: 79.89 kB / 445.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.09457, allocations: 431.4 kB / 445.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.09497, allocations: 310 kB / 445.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.09514, allocations: 120.4 kB / 446 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.09518, allocations: 3.984 kB / 446 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.09521, allocations: 46.56 kB / 446 MB, free: 11.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.09522, allocations: 0 / 446 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005137/0.09574, allocations: 241.3 kB / 446.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.09583, allocations: 191.9 kB / 446.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.09596, allocations: 183.2 kB / 446.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.09599, allocations: 33.7 kB / 446.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.09604, allocations: 104.5 kB / 446.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.09607, allocations: 15.84 kB / 446.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.0961, allocations: 21.7 kB / 446.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.09616, allocations: 322.8 kB / 447.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.09623, allocations: 27.98 kB / 447.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.09635, allocations: 151.2 kB / 447.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.09652, allocations: 178.4 kB / 447.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.09653, allocations: 0 / 447.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002424/0.09678, allocations: 177.4 kB / 447.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.0968, allocations: 8 kB / 447.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.09682, allocations: 4 kB / 447.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.09684, allocations: 4 kB / 447.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.09696, allocations: 39.92 kB / 447.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.09698, allocations: 15.88 kB / 447.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.09708, allocations: 16.19 kB / 447.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.09711, allocations: 19.98 kB / 447.7 MB, free: 9.207 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 9.989e-05/0.09721, allocations: 134.7 kB / 447.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.09746, allocations: 149.8 kB / 448 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.09752, allocations: 21.39 kB / 448 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.09753, allocations: 11.97 kB / 448 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.09754, allocations: 3.938 kB / 448 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.09755, allocations: 4 kB / 448 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.09777, allocations: 221.4 kB / 448.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.09778, allocations: 4 kB / 448.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.09791, allocations: 35.97 kB / 448.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.09792, allocations: 4 kB / 448.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.09794, allocations: 4 kB / 448.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.09794, allocations: 0 / 448.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.09795, allocations: 11.88 kB / 448.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.09828, allocations: 375.6 kB / 448.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.09836, allocations: 116.8 kB / 448.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.0984, allocations: 4 kB / 448.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.09854, allocations: 12 kB / 448.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.09858, allocations: 7.922 kB / 448.8 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.09859, allocations: 16 kB / 448.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.616e-05/0.09868, allocations: 137.1 kB / 449 MB, free: 7.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09868, allocations: 0 / 449 MB, free: 7.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.09899, allocations: 20 kB / 449 MB, free: 7.832 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.0006393/0.09963, allocations: 0.9755 MB / 450 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.0999, allocations: 124.8 kB / 450.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.09991, allocations: 4.062 kB / 450.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.09995, allocations: 8 kB / 450.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.1006, allocations: 123.9 kB / 450.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1019, allocations: 0.9646 MB / 451.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.102, allocations: 0.724 MB / 451.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.296e-05/0.1021, allocations: 21.55 kB / 451.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.1022, allocations: 39.42 kB / 452 MB, free: 4.676 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1022, allocations: 0 / 452 MB, free: 4.676 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.115, allocations: 3.086 MB / 455.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.1152, allocations: 231.8 kB / 455.3 MB, free: 1.328 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.859, allocations: 0 / 455.3 MB, free: 1.328 MB / 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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches