Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 113.1 kB / 17.06 MB, free: 6 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.001451/0.001451, allocations: 200 kB / 18 MB, free: 5.078 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 47.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3529, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003532/0.3565, allocations: 1.616 MB / 402.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3577, allocations: 0.5064 MB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3578, allocations: 4 kB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.3579, allocations: 7.922 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.3581, allocations: 11.88 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3585, allocations: 71.72 kB / 402.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3587, allocations: 51.8 kB / 403 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3589, allocations: 15.98 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.359, allocations: 35.8 kB / 403 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3591, allocations: 31.84 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.3591, allocations: 4 kB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.3592, allocations: 4 kB / 403.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.3592, allocations: 15.92 kB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.3593, allocations: 31.75 kB / 403.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3595, allocations: 67.72 kB / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3595, allocations: 0 / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3595, allocations: 0 / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3595, allocations: 0 / 403.2 MB, free: 6.371 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000582/0.3601, allocations: 388.2 kB / 403.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3602, allocations: 15.89 kB / 403.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3602, allocations: 8.844 kB / 403.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.3606, allocations: 215.7 kB / 403.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3606, allocations: 4.375 kB / 403.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3606, allocations: 384 / 403.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.361, allocations: 147 kB / 404 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.361, allocations: 0 / 404 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.361, allocations: 7.938 kB / 404 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.361, allocations: 0 / 404 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.3611, allocations: 27.97 kB / 404 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.3616, allocations: 295.2 kB / 404.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3617, allocations: 98.42 kB / 404.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.3618, allocations: 43.48 kB / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3619, allocations: 4 kB / 404.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3619, allocations: 42.48 kB / 404.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3619, allocations: 0 / 404.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000323/0.3622, allocations: 97.45 kB / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.3623, allocations: 136.5 kB / 404.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3625, allocations: 147 kB / 404.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3625, allocations: 33.7 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.3626, allocations: 92.12 kB / 405 MB, free: 4.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3626, allocations: 4 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3627, allocations: 25.56 kB / 405 MB, free: 4.293 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3628, allocations: 322.8 kB / 405.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.3629, allocations: 11.98 kB / 405.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.3629, allocations: 49.09 kB / 405.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3631, allocations: 73.06 kB / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3631, allocations: 0 / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001546/0.3632, allocations: 85.45 kB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3633, allocations: 4 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3633, allocations: 0 / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3633, allocations: 4 kB / 405.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3634, allocations: 8 kB / 405.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3634, allocations: 8.188 kB / 405.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.3635, allocations: 11.98 kB / 405.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3635, allocations: 3.938 kB / 405.6 MB, free: 3.672 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.3636, allocations: 121.8 kB / 405.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.3637, allocations: 65.53 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3637, allocations: 15.86 kB / 405.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3637, allocations: 4 kB / 405.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3638, allocations: 4.094 kB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3638, allocations: 0 / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3639, allocations: 177.6 kB / 405.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3639, allocations: 4 kB / 405.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.364, allocations: 8.125 kB / 406 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.364, allocations: 8 kB / 406 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.364, allocations: 4 kB / 406 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3641, allocations: 7.922 kB / 406 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3641, allocations: 11.92 kB / 406 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3643, allocations: 194 kB / 406.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.3644, allocations: 96.94 kB / 406.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3644, allocations: 0 / 406.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3645, allocations: 8 kB / 406.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3645, allocations: 4 kB / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3645, allocations: 7.984 kB / 406.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.3646, allocations: 110.1 kB / 406.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3646, allocations: 0 / 406.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3648, allocations: 15.91 kB / 406.4 MB, free: 2.711 MB / 318.1 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 (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.0001222/0.365, allocations: 111 kB / 406.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3651, allocations: 48.23 kB / 406.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3652, allocations: 4.062 kB / 406.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.3652, allocations: 7.984 kB / 406.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3656, allocations: 43.91 kB / 406.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.366, allocations: 193.7 kB / 406.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3663, allocations: 0.7043 MB / 407.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.3663, allocations: 8.656 kB / 407.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3663, allocations: 11.44 kB / 407.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3663, allocations: 3.938 kB / 407.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of Templates: time 0.00342/0.3698, allocations: 0.8402 MB / 408.4 MB, free: 0.6875 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches