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.00197/0.00197, allocations: 116.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002884/0.002884, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.292/2.292, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.09 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003604/0.268, allocations: 1.972 MB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2704, allocations: 1.336 MB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2706, allocations: 4 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.271, allocations: 79.58 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.2715, allocations: 135.4 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.2724, allocations: 274.7 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.2727, allocations: 223.4 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2729, allocations: 48.3 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.2731, allocations: 95.61 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2732, allocations: 103.5 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.2733, allocations: 16 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2735, allocations: 79.89 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2736, allocations: 67.75 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2737, allocations: 99.34 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.2741, allocations: 298.8 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2741, allocations: 0 / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2742, allocations: 0 / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2742, allocations: 0 / 414.7 MB, free: 12.74 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.001044/0.2752, allocations: 0.5907 MB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2753, allocations: 8.031 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2754, allocations: 40.56 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.2759, allocations: 307.5 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.2759, allocations: 12.38 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.2759, allocations: 20.11 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.2766, allocations: 315.2 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2766, allocations: 7.938 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2767, allocations: 8 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2767, allocations: 4 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.2769, allocations: 75.88 kB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.2776, allocations: 414.2 kB / 416.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.278, allocations: 196 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2782, allocations: 94.53 kB / 416.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2782, allocations: 3.938 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.2784, allocations: 83.61 kB / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.2784, allocations: 0 / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006021/0.279, allocations: 249.2 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.2791, allocations: 170.1 kB / 417.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.2795, allocations: 355 kB / 417.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2796, allocations: 33.7 kB / 417.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2797, allocations: 136.5 kB / 417.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.2797, allocations: 31.7 kB / 417.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.2798, allocations: 53.92 kB / 417.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.28, allocations: 342.8 kB / 418.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/0.2801, allocations: 40.39 kB / 418.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.2802, allocations: 191.2 kB / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2805, allocations: 219.2 kB / 418.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2805, allocations: 0 / 418.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004322/0.281, allocations: 237.4 kB / 418.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.281, allocations: 14.97 kB / 418.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.281, allocations: 4.312 kB / 418.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2811, allocations: 4 kB / 418.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2812, allocations: 43.92 kB / 418.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/0.2813, allocations: 15.86 kB / 419 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2814, allocations: 15.94 kB / 419 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2814, allocations: 11.98 kB / 419 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.0001778/0.2816, allocations: 183.9 kB / 419.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.2818, allocations: 145.5 kB / 419.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.2819, allocations: 37.83 kB / 419.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2819, allocations: 3.984 kB / 419.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.282, allocations: 7.938 kB / 419.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.282, allocations: 0 / 419.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.2822, allocations: 269.3 kB / 419.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2823, allocations: 4 kB / 419.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2824, allocations: 31.91 kB / 419.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2824, allocations: 4 kB / 419.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2824, allocations: 8 kB / 419.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2824, allocations: 4 kB / 419.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2825, allocations: 4 kB / 419.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.2829, allocations: 247.5 kB / 419.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.283, allocations: 128.6 kB / 420 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.2831, allocations: 0 / 420 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.2832, allocations: 15.98 kB / 420.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.2833, allocations: 15.92 kB / 420.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2833, allocations: 8 kB / 420.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.2835, allocations: 253.9 kB / 420.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2835, allocations: 0 / 420.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.2839, allocations: 48 kB / 420.4 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.0009685/0.2848, allocations: 419.9 kB / 420.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.2852, allocations: 159 kB / 420.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2852, allocations: 0 / 420.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.2853, allocations: 31.98 kB / 421 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.0005501/0.2859, allocations: 121.7 kB / 421.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/0.2869, allocations: 0.492 MB / 421.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.2873, allocations: 0.7635 MB / 422.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.2874, allocations: 35.42 kB / 422.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2874, allocations: 4 kB / 422.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Templates: time 0.006183/0.2936, allocations: 3.716 MB / 426.1 MB, free: 0.8945 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/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