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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 113.9 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000986/0.0009865, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2528, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003082/0.2559, allocations: 2.033 MB / 409.1 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2577, allocations: 1.34 MB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2578, allocations: 7.938 kB / 410.4 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.2582, allocations: 59.8 kB / 410.5 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2585, allocations: 123.5 kB / 410.6 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.2594, allocations: 267.1 kB / 410.9 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.2596, allocations: 207.4 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2598, allocations: 48.28 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-05/0.2599, allocations: 95.55 kB / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.26, allocations: 107.5 kB / 411.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.26, allocations: 8 kB / 411.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2602, allocations: 55.98 kB / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.2603, allocations: 67.73 kB / 411.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.2604, allocations: 87.36 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.2606, allocations: 292.5 kB / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2606, allocations: 0 / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2606, allocations: 0 / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.2606, allocations: 0 / 411.8 MB, free: 23.04 MB / 298.7 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.0008002/0.2615, allocations: 0.5896 MB / 412.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2615, allocations: 8.875 kB / 412.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.2616, allocations: 32.56 kB / 412.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.2619, allocations: 311.3 kB / 412.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2619, allocations: 12.38 kB / 412.8 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.262, allocations: 16.12 kB / 412.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.2625, allocations: 313.4 kB / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2625, allocations: 4 kB / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2625, allocations: 4 kB / 413.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2625, allocations: 4 kB / 413.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.2627, allocations: 79.88 kB / 413.2 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.2632, allocations: 414.2 kB / 413.6 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.2635, allocations: 199.9 kB / 413.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.2636, allocations: 94.55 kB / 413.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2637, allocations: 7.984 kB / 413.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.2638, allocations: 79.56 kB / 414 MB, free: 20.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.923e-06/0.2638, allocations: 0 / 414 MB, free: 20.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000465/0.2643, allocations: 265.1 kB / 414.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2644, allocations: 162.2 kB / 414.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.2647, allocations: 358.8 kB / 414.7 MB, free: 19.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2647, allocations: 33.7 kB / 414.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2648, allocations: 136.6 kB / 414.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.2648, allocations: 31.7 kB / 414.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.2649, allocations: 49.94 kB / 415 MB, free: 19.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.2649, allocations: 342.8 kB / 415.3 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.265, allocations: 40.44 kB / 415.3 MB, free: 19.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2651, allocations: 194.9 kB / 415.5 MB, free: 18.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.2653, allocations: 215.2 kB / 415.7 MB, free: 18.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2654, allocations: 0 / 415.7 MB, free: 18.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003006/0.2657, allocations: 236.9 kB / 416 MB, free: 18.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2657, allocations: 8 kB / 416 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2657, allocations: 4.531 kB / 416 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2657, allocations: 8 kB / 416 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2659, allocations: 43.92 kB / 416 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2659, allocations: 11.88 kB / 416.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.266, allocations: 23.83 kB / 416.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.266, allocations: 12 kB / 416.1 MB, free: 18.34 MB / 298.7 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.0001235/0.2661, allocations: 173.8 kB / 416.3 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.2663, allocations: 145.7 kB / 416.4 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.2664, allocations: 41.78 kB / 416.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2664, allocations: 96 / 416.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2664, allocations: 11.88 kB / 416.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2664, allocations: 0 / 416.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.2666, allocations: 269.4 kB / 416.7 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2666, allocations: 0 / 416.7 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2667, allocations: 27.92 kB / 416.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2667, allocations: 4 kB / 416.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2667, allocations: 7.984 kB / 416.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2668, allocations: 4 kB / 416.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2668, allocations: 3.938 kB / 416.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.2674, allocations: 0.8974 MB / 417.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.2675, allocations: 128.6 kB / 417.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.2675, allocations: 8 kB / 417.8 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.2676, allocations: 15.98 kB / 417.8 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.2677, allocations: 7.984 kB / 417.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.2677, allocations: 12.05 kB / 417.8 MB, free: 16.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.2679, allocations: 249.9 kB / 418.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2679, allocations: 3.938 kB / 418.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.2683, allocations: 56 kB / 418.1 MB, free: 16.15 MB / 298.7 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.0009677/0.2693, allocations: 432.9 kB / 418.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.2696, allocations: 151.7 kB / 418.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2696, allocations: 0 / 418.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.2697, allocations: 39.91 kB / 418.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.2702, allocations: 114.1 kB / 418.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.271, allocations: 0.6939 MB / 419.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.2712, allocations: 0.7794 MB / 420.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.416e-05/0.2713, allocations: 34.5 kB / 420.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.2714, allocations: 31.44 kB / 420.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2714, allocations: 0 / 420.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Templates: time 0.006298/0.2777, allocations: 3.484 MB / 423.9 MB, free: 10.49 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches