Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001934/0.001935, allocations: 180.5 kB / 17.46 MB, free: 4.363 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.629/2.629, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001237/0.001237, allocations: 93.02 kB / 272 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1501/0.1501, allocations: 12.19 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007468/0.0007469, allocations: 15.98 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1275, allocations: 50.28 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5485/0.6761, allocations: 78.44 MB / 0.5092 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000395/0.6766, allocations: 76.39 kB / 0.5093 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006798/0.6834, allocations: 2.13 MB / 0.5114 GB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6835, allocations: 0 / 0.5114 GB, free: 12.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.6835, allocations: 4 kB / 0.5114 GB, free: 12.33 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005801/0.6841, allocations: 382.4 kB / 0.5117 GB, free: 11.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.6842, allocations: 7.656 kB / 0.5118 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/0.6843, allocations: 12.62 kB / 0.5118 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.6846, allocations: 215 kB / 0.512 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6846, allocations: 384 / 0.512 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.6846, allocations: 4.25 kB / 0.512 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.685, allocations: 152 kB / 0.5121 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6851, allocations: 192 / 0.5121 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.6851, allocations: 3.938 kB / 0.5121 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.6851, allocations: 0 / 0.5121 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.6852, allocations: 30.95 kB / 0.5122 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.6856, allocations: 297.7 kB / 0.5124 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.6857, allocations: 100.9 kB / 0.5125 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.6858, allocations: 45.17 kB / 0.5126 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.6859, allocations: 7.875 kB / 0.5126 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6859, allocations: 37 kB / 0.5126 GB, free: 11.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.6859, allocations: 0 / 0.5126 GB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003239/0.6863, allocations: 110 kB / 0.5127 GB, free: 11.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.6863, allocations: 136.4 kB / 0.5129 GB, free: 10.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.6865, allocations: 149.7 kB / 0.513 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.6865, allocations: 25.7 kB / 0.513 GB, free: 10.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.6865, allocations: 95.2 kB / 0.5131 GB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.6865, allocations: 0 / 0.5131 GB, free: 10.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.6866, allocations: 3.844 kB / 0.5131 GB, free: 10.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.6866, allocations: 322.4 kB / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.6867, allocations: 15.77 kB / 0.5134 GB, free: 10.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.6868, allocations: 48.25 kB / 0.5135 GB, free: 10.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.6869, allocations: 71.86 kB / 0.5136 GB, free: 10.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6869, allocations: 15.73 kB / 0.5136 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000227/0.6871, allocations: 88 kB / 0.5137 GB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6872, allocations: 8.609 kB / 0.5137 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6872, allocations: 0 / 0.5137 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.6872, allocations: 3.844 kB / 0.5137 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.6874, allocations: 11.38 kB / 0.5137 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.6874, allocations: 0 / 0.5137 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.6875, allocations: 16.08 kB / 0.5137 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.6875, allocations: 3.875 kB / 0.5137 GB, free: 10.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001056/0.6876, allocations: 129.8 kB / 0.5138 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.6877, allocations: 63.03 kB / 0.5139 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.6878, allocations: 15.61 kB / 0.5139 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6878, allocations: 3.844 kB / 0.5139 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6878, allocations: 0 / 0.5139 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6878, allocations: 0 / 0.5139 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.6881, allocations: 187.9 kB / 0.5141 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6881, allocations: 7.828 kB / 0.5141 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.6882, allocations: 11.66 kB / 0.5141 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.6882, allocations: 0 / 0.5141 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6882, allocations: 0 / 0.5141 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6882, allocations: 3.844 kB / 0.5141 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6882, allocations: 3.984 kB / 0.5141 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.6885, allocations: 210.4 kB / 0.5143 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.6886, allocations: 96.72 kB / 0.5144 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.6887, allocations: 0 / 0.5144 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.6888, allocations: 3.875 kB / 0.5144 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.6888, allocations: 3.984 kB / 0.5144 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.6889, allocations: 7.844 kB / 0.5144 GB, free: 9.438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.689, allocations: 117.1 kB / 0.5145 GB, free: 9.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.689, allocations: 0 / 0.5145 GB, free: 9.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.6893, allocations: 7.688 kB / 0.5145 GB, free: 9.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001447/0.6895, allocations: 102.3 kB / 0.5146 GB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.6897, allocations: 50.3 kB / 0.5147 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6897, allocations: 0 / 0.5147 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.6897, allocations: 11.67 kB / 0.5147 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.6902, allocations: 42.56 kB / 0.5147 GB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.6907, allocations: 257.2 kB / 0.515 GB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.6909, allocations: 0.6961 MB / 0.5156 GB, free: 8.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.6909, allocations: 18.7 kB / 0.5157 GB, free: 8.277 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.6909, allocations: 0 / 0.5157 GB, free: 8.277 MB / 330.7 MB Notification: Performance of Templates: time 0.002317/0.6932, allocations: 1.009 MB / 0.5167 GB, free: 7.77 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches