Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 110.3 kB / 17.06 MB, free: 6.129 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: 191 kB / 18 MB, free: 5.207 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.586/1.586, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 43.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3546, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003109/0.3577, allocations: 1.751 MB / 402.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.3587, allocations: 0.5259 MB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.3588, allocations: 7.938 kB / 403 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.889e-05/0.3589, allocations: 11.86 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.359, allocations: 19.81 kB / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.3594, allocations: 95.7 kB / 403.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3595, allocations: 87.77 kB / 403.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3597, allocations: 29.09 kB / 403.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.3598, allocations: 43.78 kB / 403.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.3599, allocations: 47.77 kB / 403.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3599, allocations: 8 kB / 403.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.3599, allocations: 8 kB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.36, allocations: 27.86 kB / 403.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.36, allocations: 47.67 kB / 403.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3602, allocations: 107.6 kB / 403.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3602, allocations: 0 / 403.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3602, allocations: 0 / 403.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3602, allocations: 0 / 403.5 MB, free: 6.051 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005789/0.3608, allocations: 440 kB / 404 MB, free: 5.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3609, allocations: 8.031 kB / 404 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3609, allocations: 20.73 kB / 404 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.3612, allocations: 216 kB / 404.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.3613, allocations: 8.375 kB / 404.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.3613, allocations: 12.38 kB / 404.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3618, allocations: 263.6 kB / 404.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3618, allocations: 11.92 kB / 404.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3619, allocations: 8 kB / 404.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3619, allocations: 0 / 404.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.362, allocations: 47.97 kB / 404.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.3625, allocations: 306.4 kB / 404.9 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.3627, allocations: 131.9 kB / 405 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.3629, allocations: 74.61 kB / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3629, allocations: 8.141 kB / 405.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3629, allocations: 42.5 kB / 405.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3629, allocations: 0 / 405.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004273/0.3634, allocations: 165.4 kB / 405.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.3635, allocations: 122.7 kB / 405.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3636, allocations: 153.2 kB / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3636, allocations: 33.7 kB / 405.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.3637, allocations: 96.06 kB / 405.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3637, allocations: 15.89 kB / 405.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.3638, allocations: 37.62 kB / 405.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3639, allocations: 326.8 kB / 406 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.364, allocations: 23.98 kB / 406.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3641, allocations: 135.8 kB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3643, allocations: 170.4 kB / 406.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3643, allocations: 7.938 kB / 406.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002994/0.3647, allocations: 177.7 kB / 406.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3647, allocations: 8 kB / 406.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3647, allocations: 8.031 kB / 406.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3647, allocations: 4 kB / 406.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3648, allocations: 31.92 kB / 406.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3649, allocations: 4 kB / 406.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.3649, allocations: 23.83 kB / 406.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.365, allocations: 8 kB / 406.6 MB, free: 2.594 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001052/0.3651, allocations: 137.7 kB / 406.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.3653, allocations: 117.4 kB / 406.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.3653, allocations: 28.66 kB / 406.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3653, allocations: 7.984 kB / 406.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3653, allocations: 0 / 406.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3654, allocations: 3.938 kB / 406.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3655, allocations: 189.6 kB / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3655, allocations: 0 / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3657, allocations: 28.45 kB / 407.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3657, allocations: 4 kB / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3657, allocations: 0 / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3657, allocations: 4 kB / 407.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3657, allocations: 4 kB / 407.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.366, allocations: 259.4 kB / 407.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.3661, allocations: 108.8 kB / 407.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.3661, allocations: 4 kB / 407.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.3662, allocations: 7.984 kB / 407.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3662, allocations: 15.92 kB / 407.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3663, allocations: 4 kB / 407.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.3663, allocations: 119.1 kB / 407.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3664, allocations: 0 / 407.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.3666, allocations: 24 kB / 407.7 MB, free: 1.441 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001086/0.3667, allocations: 103.1 kB / 407.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.367, allocations: 112.1 kB / 407.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.367, allocations: 0 / 407.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.3671, allocations: 7.984 kB / 407.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.3675, allocations: 80.58 kB / 408 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.368, allocations: 266.4 kB / 408.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.3682, allocations: 0.724 MB / 408.9 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.3683, allocations: 13.42 kB / 409 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.3683, allocations: 15.44 kB / 409 MB, free: 68 kB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3683, allocations: 0 / 409 MB, free: 68 kB / 318.1 MB Notification: Performance of Templates: time 0.003632/0.372, allocations: 1.232 MB / 410.2 MB, free: 14.85 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches