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.0007695/0.0007695, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.0008095/0.0008095, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.271/1.271, allocations: 223.3 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 7.938 kB / 302.1 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07497, allocations: 50.42 MB / 352.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.001698/0.0767, allocations: 1.449 MB / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.07752, allocations: 0.5221 MB / 354.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.07762, allocations: 7.938 kB / 354.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.07767, allocations: 7.922 kB / 354.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.0778, allocations: 3.938 kB / 354.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.07816, allocations: 91.78 kB / 354.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.0783, allocations: 87.69 kB / 354.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.0784, allocations: 25.11 kB / 354.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.07849, allocations: 35.84 kB / 354.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.07856, allocations: 39.77 kB / 354.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.07859, allocations: 8 kB / 354.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.07861, allocations: 0 / 354.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.07866, allocations: 19.92 kB / 354.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.07873, allocations: 81.3 kB / 354.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.071e-05/0.07883, allocations: 63.86 kB / 354.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.07884, allocations: 4 kB / 354.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07885, allocations: 4 kB / 354.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.07886, allocations: 0 / 354.9 MB, free: 1.254 MB / 286.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.0004465/0.07931, allocations: 403.3 kB / 355.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.07935, allocations: 12.03 kB / 355.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.0794, allocations: 16.75 kB / 355.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.07959, allocations: 208.1 kB / 355.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.07962, allocations: 8.375 kB / 355.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.07965, allocations: 12.38 kB / 355.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.08011, allocations: 273.7 kB / 355.9 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.08014, allocations: 3.938 kB / 355.9 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.08015, allocations: 8 kB / 355.9 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.08017, allocations: 4 kB / 355.9 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.08031, allocations: 47.97 kB / 355.9 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.08064, allocations: 302.4 kB / 356.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.08088, allocations: 143.9 kB / 356.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.08101, allocations: 74.62 kB / 356.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.08104, allocations: 3.984 kB / 356.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.08107, allocations: 46.66 kB / 356.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.08108, allocations: 0 / 356.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004022/0.08149, allocations: 181.5 kB / 356.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.08157, allocations: 126.9 kB / 356.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.08169, allocations: 148.5 kB / 356.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.08172, allocations: 29.7 kB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.08177, allocations: 92.12 kB / 357 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.0818, allocations: 15.81 kB / 357.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.08183, allocations: 25.7 kB / 357.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.08193, allocations: 318.8 kB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.08201, allocations: 35.92 kB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.08213, allocations: 134.5 kB / 357.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.08234, allocations: 178.4 kB / 357.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.08235, allocations: 0 / 357.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002852/0.08264, allocations: 189.1 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.08267, allocations: 8 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.08268, allocations: 4 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.0827, allocations: 4 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.08282, allocations: 31.92 kB / 358 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.08284, allocations: 4.531 kB / 358 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.08293, allocations: 19.94 kB / 358 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.08295, allocations: 8 kB / 358 MB, free: 13.82 MB / 302.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 9.544e-05/0.08305, allocations: 144.5 kB / 358.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.08325, allocations: 121.4 kB / 358.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.0833, allocations: 24.66 kB / 358.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.08331, allocations: 4 kB / 358.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.08332, allocations: 3.938 kB / 358.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.08333, allocations: 3.938 kB / 358.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.08351, allocations: 194.1 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.08352, allocations: 4 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.08364, allocations: 23.98 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.08365, allocations: 0 / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.08366, allocations: 11.98 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.08367, allocations: 3.938 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.08368, allocations: 0 / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.08397, allocations: 260.8 kB / 358.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.08405, allocations: 104.9 kB / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.08408, allocations: 8 kB / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.08417, allocations: 4 kB / 358.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.0842, allocations: 0 / 358.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.08422, allocations: 11.94 kB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.135e-05/0.0843, allocations: 118.9 kB / 359 MB, free: 12.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0843, allocations: 0 / 359 MB, free: 12.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.0846, allocations: 20 kB / 359 MB, free: 12.67 MB / 302.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 9.176e-05/0.0847, allocations: 115.1 kB / 359.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.08494, allocations: 119.3 kB / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08496, allocations: 0 / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.085, allocations: 8 kB / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.08546, allocations: 81.69 kB / 359.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.08593, allocations: 341.6 kB / 359.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.08617, allocations: 0.7204 MB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.08621, allocations: 23.42 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08622, allocations: 0 / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002669/0.0889, allocations: 1.441 MB / 361.9 MB, free: 9.762 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/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