Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001316, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001824/0.001824, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3701, allocations: 50.55 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003881/0.374, allocations: 1.971 MB / 411.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3764, allocations: 1.336 MB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3766, allocations: 4 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.377, allocations: 75.59 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.3774, allocations: 143.4 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.3783, allocations: 262.7 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.3786, allocations: 227.4 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3788, allocations: 48.28 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3789, allocations: 99.55 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3791, allocations: 103.6 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.3791, allocations: 12 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.3793, allocations: 75.89 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.3794, allocations: 63.77 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3795, allocations: 107.3 kB / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3799, allocations: 298.5 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3799, allocations: 0 / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3799, allocations: 4 kB / 414 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3799, allocations: 0 / 414 MB, free: 12.76 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008889/0.3808, allocations: 0.597 MB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3809, allocations: 12.03 kB / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.3809, allocations: 28.75 kB / 414.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.3813, allocations: 323.6 kB / 415 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3814, allocations: 8.375 kB / 415 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3814, allocations: 16.12 kB / 415 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.382, allocations: 334.4 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.382, allocations: 0 / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.382, allocations: 4 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.382, allocations: 4 kB / 415.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.3822, allocations: 67.95 kB / 415.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3828, allocations: 430.2 kB / 415.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.3832, allocations: 192 kB / 416 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3833, allocations: 90.53 kB / 416.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3834, allocations: 11.94 kB / 416.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3836, allocations: 75.38 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.3836, allocations: 0 / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005844/0.3842, allocations: 253.8 kB / 416.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3843, allocations: 174.2 kB / 416.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.3847, allocations: 354.9 kB / 417 MB, free: 9.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3848, allocations: 33.7 kB / 417 MB, free: 9.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.3849, allocations: 128.7 kB / 417.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3849, allocations: 31.78 kB / 417.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.385, allocations: 61.81 kB / 417.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3851, allocations: 342.8 kB / 417.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3852, allocations: 40.45 kB / 417.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3854, allocations: 186.9 kB / 417.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.3858, allocations: 215.4 kB / 418 MB, free: 8.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3858, allocations: 0 / 418 MB, free: 8.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003735/0.3861, allocations: 241.4 kB / 418.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3862, allocations: 11.19 kB / 418.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3862, allocations: 4.078 kB / 418.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3862, allocations: 8 kB / 418.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3864, allocations: 35.92 kB / 418.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.3864, allocations: 23.78 kB / 418.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3865, allocations: 15.95 kB / 418.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3866, allocations: 16 kB / 418.3 MB, free: 8.051 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001815/0.3868, allocations: 188.1 kB / 418.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.387, allocations: 137.4 kB / 418.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.387, allocations: 37.78 kB / 418.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3871, allocations: 4 kB / 418.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3871, allocations: 3.938 kB / 418.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3871, allocations: 0 / 418.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3873, allocations: 269.4 kB / 419 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3873, allocations: 0 / 419 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3875, allocations: 43.91 kB / 419 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3875, allocations: 0 / 419 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3875, allocations: 8 kB / 419 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3875, allocations: 0 / 419 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3875, allocations: 3.938 kB / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.3879, allocations: 245.5 kB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3881, allocations: 128.9 kB / 419.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.3881, allocations: 11.98 kB / 419.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.3882, allocations: 8 kB / 419.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.3883, allocations: 19.95 kB / 419.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3883, allocations: 8.062 kB / 419.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.3886, allocations: 257.9 kB / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3886, allocations: 0 / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.3889, allocations: 47.94 kB / 419.7 MB, free: 6.551 MB / 334.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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001098/0.39, allocations: 424.1 kB / 420.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.3904, allocations: 155.7 kB / 420.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3904, allocations: 1.062 kB / 420.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.3905, allocations: 27.98 kB / 420.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.3912, allocations: 131.6 kB / 420.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3923, allocations: 473.6 kB / 420.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3929, allocations: 0.7714 MB / 421.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.393, allocations: 30.52 kB / 421.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.3931, allocations: 31.42 kB / 421.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3931, allocations: 0 / 421.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Templates: time 0.009516/0.4026, allocations: 3.546 MB / 425.3 MB, free: 1.07 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches