Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 181.2 kB / 17.46 MB, free: 4.359 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.825/2.825, allocations: 205.4 MB / 223.6 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.001518/0.001518, allocations: 92.48 kB / 272 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1732/0.1732, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008732/0.0008734, allocations: 23.98 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1728, allocations: 50.3 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6413/0.8142, allocations: 79.62 MB / 0.5104 GB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005162/0.8148, allocations: 79.92 kB / 0.5105 GB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0132/0.828, allocations: 2.952 MB / 0.5133 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.971e-06/0.8282, allocations: 0 / 0.5133 GB, free: 11.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.245e-05/0.8282, allocations: 7.625 kB / 0.5134 GB, free: 11.75 MB / 330.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.001015/0.8293, allocations: 436.3 kB / 0.5138 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.8294, allocations: 11.59 kB / 0.5138 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.8295, allocations: 17.19 kB / 0.5138 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.8301, allocations: 256.8 kB / 0.514 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.8301, allocations: 4.812 kB / 0.514 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.8302, allocations: 7.281 kB / 0.5141 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.8312, allocations: 330.4 kB / 0.5144 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.8312, allocations: 4 kB / 0.5144 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.8313, allocations: 0 / 0.5144 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.8313, allocations: 3.844 kB / 0.5144 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.8316, allocations: 86 kB / 0.5145 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.8327, allocations: 447.3 kB / 0.5149 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.8335, allocations: 310.6 kB / 0.5152 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.8338, allocations: 110.9 kB / 0.5153 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.8339, allocations: 7.906 kB / 0.5153 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.8339, allocations: 41.91 kB / 0.5153 GB, free: 10.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.817e-06/0.834, allocations: 0 / 0.5153 GB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008755/0.8348, allocations: 237.8 kB / 0.5156 GB, free: 10.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.835, allocations: 191.6 kB / 0.5157 GB, free: 9.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.8353, allocations: 186.7 kB / 0.5159 GB, free: 9.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.8353, allocations: 25.7 kB / 0.5159 GB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.8354, allocations: 102.7 kB / 0.516 GB, free: 9.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.8355, allocations: 15.2 kB / 0.5161 GB, free: 9.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.8355, allocations: 0 / 0.5161 GB, free: 9.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8356, allocations: 334.2 kB / 0.5164 GB, free: 9.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.8357, allocations: 26.08 kB / 0.5164 GB, free: 9.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.8359, allocations: 144.7 kB / 0.5165 GB, free: 9.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.8363, allocations: 185 kB / 0.5167 GB, free: 8.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8363, allocations: 0 / 0.5167 GB, free: 8.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005137/0.8368, allocations: 174.8 kB / 0.5169 GB, free: 8.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.8369, allocations: 11.62 kB / 0.5169 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.8369, allocations: 3.844 kB / 0.5169 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.837, allocations: 7.812 kB / 0.5169 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.8372, allocations: 34.86 kB / 0.5169 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.8372, allocations: 12.06 kB / 0.517 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.8374, allocations: 26.89 kB / 0.517 GB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.8374, allocations: 11.64 kB / 0.517 GB, free: 8.781 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.8376, allocations: 140 kB / 0.5171 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.8381, allocations: 152.3 kB / 0.5173 GB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.8382, allocations: 27.12 kB / 0.5173 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8382, allocations: 0 / 0.5173 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8382, allocations: 3.844 kB / 0.5173 GB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.8382, allocations: 3.984 kB / 0.5173 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.8386, allocations: 221.2 kB / 0.5175 GB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.8387, allocations: 3.844 kB / 0.5175 GB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.8389, allocations: 46.12 kB / 0.5176 GB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.8389, allocations: 0 / 0.5176 GB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.839, allocations: 3.906 kB / 0.5176 GB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.839, allocations: 4 kB / 0.5176 GB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.839, allocations: 3.812 kB / 0.5176 GB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.8396, allocations: 378.2 kB / 0.5179 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.8398, allocations: 115.2 kB / 0.518 GB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.8398, allocations: 3.812 kB / 0.518 GB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.8401, allocations: 15.14 kB / 0.5181 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.8402, allocations: 7.844 kB / 0.5181 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.8402, allocations: 7.406 kB / 0.5181 GB, free: 7.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.8404, allocations: 134.9 kB / 0.5182 GB, free: 7.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.8404, allocations: 0 / 0.5182 GB, free: 7.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.8411, allocations: 26.69 kB / 0.5182 GB, free: 7.855 MB / 330.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 (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.0001677/0.8413, allocations: 102 kB / 0.5183 GB, free: 7.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004845/0.8418, allocations: 128.1 kB / 0.5184 GB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8418, allocations: 0 / 0.5184 GB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.8419, allocations: 12.72 kB / 0.5185 GB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.843, allocations: 119 kB / 0.5186 GB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.844, allocations: 393.6 kB / 0.5189 GB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.8443, allocations: 0.727 MB / 0.5197 GB, free: 6.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.8444, allocations: 22.75 kB / 0.5197 GB, free: 6.664 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.8444, allocations: 0 / 0.5197 GB, free: 6.664 MB / 330.7 MB Notification: Performance of Templates: time 0.005756/0.8502, allocations: 1.811 MB / 0.5214 GB, free: 5.75 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches