Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 50.53 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003088/0.265, allocations: 1.758 MB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2661, allocations: 0.596 MB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2662, allocations: 7.938 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.2663, allocations: 7.875 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.2664, allocations: 23.78 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.2668, allocations: 99.75 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.267, allocations: 91.7 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2671, allocations: 33.42 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2673, allocations: 43.84 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.2673, allocations: 51.66 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2674, allocations: 8 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.2674, allocations: 11.98 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.2675, allocations: 31.91 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.2676, allocations: 47.67 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2677, allocations: 111.6 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2677, allocations: 7.938 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2677, allocations: 0 / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2678, allocations: 0 / 412.9 MB, free: 14.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005251/0.2683, allocations: 424.1 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2683, allocations: 8.031 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.2685, allocations: 24.73 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2688, allocations: 235.9 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2688, allocations: 8.375 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2688, allocations: 8.375 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.2693, allocations: 268.9 kB / 413.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2693, allocations: 0 / 413.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2694, allocations: 7.875 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2694, allocations: 4 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2695, allocations: 59.91 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.2699, allocations: 298.5 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2701, allocations: 135.9 kB / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2702, allocations: 82.55 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2702, allocations: 4 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2703, allocations: 30.72 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.2703, allocations: 0 / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003946/0.2707, allocations: 185.3 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.2708, allocations: 114.8 kB / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2709, allocations: 154.2 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2709, allocations: 29.7 kB / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.271, allocations: 104 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.271, allocations: 19.8 kB / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.2711, allocations: 33.72 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2712, allocations: 330.9 kB / 415.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.2713, allocations: 27.97 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2714, allocations: 134.2 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2716, allocations: 166.3 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.2716, allocations: 4 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002773/0.2719, allocations: 185.1 kB / 415.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2719, allocations: 4 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2719, allocations: 4 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.272, allocations: 8 kB / 415.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2721, allocations: 27.92 kB / 415.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2721, allocations: 8.516 kB / 415.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.2722, allocations: 20.31 kB / 415.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2722, allocations: 8 kB / 416 MB, free: 11.18 MB / 334.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.0001059/0.2723, allocations: 144.8 kB / 416.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.2725, allocations: 129.3 kB / 416.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.2726, allocations: 20.7 kB / 416.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2726, allocations: 4 kB / 416.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2726, allocations: 0 / 416.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2726, allocations: 7.938 kB / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.2728, allocations: 197.5 kB / 416.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2728, allocations: 7.938 kB / 416.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.2729, allocations: 27.92 kB / 416.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2729, allocations: 0 / 416.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2729, allocations: 8 kB / 416.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2729, allocations: 0 / 416.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2729, allocations: 0 / 416.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2732, allocations: 256.9 kB / 416.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.2733, allocations: 108.8 kB / 416.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.2733, allocations: 4 kB / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.2734, allocations: 11.98 kB / 416.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.2735, allocations: 3.938 kB / 416.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2735, allocations: 8 kB / 416.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.511e-05/0.2736, allocations: 119.2 kB / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2736, allocations: 0 / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.2739, allocations: 20 kB / 417 MB, free: 10.02 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: 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.0001109/0.274, allocations: 111.2 kB / 417.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.2742, allocations: 99.77 kB / 417.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2742, allocations: 1.062 kB / 417.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.2743, allocations: 19.92 kB / 417.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2747, allocations: 80.38 kB / 417.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.2751, allocations: 291.5 kB / 417.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2754, allocations: 0.7163 MB / 418.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.2755, allocations: 15.44 kB / 418.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2755, allocations: 4 kB / 418.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of Templates: time 0.002849/0.2783, allocations: 1.511 MB / 419.8 MB, free: 7.109 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches