Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 192.3 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3738, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003386/0.3772, allocations: 1.578 MB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3783, allocations: 494.6 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.3784, allocations: 0 / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.911e-05/0.3785, allocations: 7.938 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.3786, allocations: 11.86 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.379, allocations: 47.83 kB / 403.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3791, allocations: 51.78 kB / 403.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3792, allocations: 20.17 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.3793, allocations: 23.86 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.3794, allocations: 23.86 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3794, allocations: 4 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.3795, allocations: 4 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.3795, allocations: 11.92 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.3796, allocations: 27.8 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3797, allocations: 63.69 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3797, allocations: 4 kB / 403.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3797, allocations: 3.984 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3798, allocations: 0 / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006061/0.3804, allocations: 372.3 kB / 404.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3804, allocations: 11.89 kB / 404.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3805, allocations: 8.844 kB / 404.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.3808, allocations: 200.1 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3808, allocations: 4.375 kB / 404.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3808, allocations: 4.375 kB / 404.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.3811, allocations: 122 kB / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3812, allocations: 0 / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3812, allocations: 0 / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3812, allocations: 8 kB / 404.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.3813, allocations: 31.84 kB / 404.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3817, allocations: 270.5 kB / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3819, allocations: 67.84 kB / 404.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.382, allocations: 38.58 kB / 404.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.382, allocations: 3.984 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.382, allocations: 38.55 kB / 404.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.382, allocations: 0 / 404.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002934/0.3823, allocations: 81.52 kB / 405 MB, free: 5.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.3824, allocations: 114.8 kB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3826, allocations: 141.8 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3826, allocations: 26.08 kB / 405.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3827, allocations: 96.05 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3827, allocations: 4 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3827, allocations: 13.72 kB / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3829, allocations: 326.8 kB / 405.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.383, allocations: 4 kB / 405.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.383, allocations: 35.42 kB / 405.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/0.3831, allocations: 51.36 kB / 405.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3831, allocations: 4 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.3833, allocations: 69.61 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3833, allocations: 12.03 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3833, allocations: 0 / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3834, allocations: 7.875 kB / 405.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.3835, allocations: 11.98 kB / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.3835, allocations: 4 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.3835, allocations: 3.938 kB / 405.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3836, allocations: 4 kB / 405.9 MB, free: 4.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.985e-05/0.3837, allocations: 117.8 kB / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.3838, allocations: 61.53 kB / 406.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.3838, allocations: 11.86 kB / 406.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3838, allocations: 4 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3838, allocations: 0 / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3838, allocations: 0 / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.384, allocations: 173.6 kB / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3841, allocations: 0 / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.3841, allocations: 11.98 kB / 406.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3841, allocations: 3.938 kB / 406.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3841, allocations: 4 kB / 406.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3842, allocations: 8.062 kB / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3842, allocations: 0 / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3844, allocations: 181 kB / 406.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.3845, allocations: 97 kB / 406.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3845, allocations: 0 / 406.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.3846, allocations: 4 kB / 406.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3846, allocations: 7.984 kB / 406.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3846, allocations: 0 / 406.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.831e-05/0.3847, allocations: 110 kB / 406.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3847, allocations: 0 / 406.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.385, allocations: 4 kB / 406.7 MB, free: 3.148 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001426/0.3851, allocations: 107.2 kB / 406.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3853, allocations: 35.92 kB / 406.8 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3853, allocations: 0 / 406.8 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.3854, allocations: 15.92 kB / 406.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.3857, allocations: 36.08 kB / 406.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.3862, allocations: 194.8 kB / 407.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3866, allocations: 0.7 MB / 407.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.3866, allocations: 11.44 kB / 407.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of SimCode: time 3.256e-06/0.3866, allocations: 3.938 kB / 407.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Templates: time 0.002632/0.3893, allocations: 0.8504 MB / 408.6 MB, free: 1.133 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches