Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002132, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3924, allocations: 50.55 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003086/0.3956, allocations: 1.496 MB / 410.7 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.3961, allocations: 139.5 kB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.3962, allocations: 0 / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.3962, allocations: 3.938 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.3964, allocations: 7.938 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3966, allocations: 35.89 kB / 410.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.3967, allocations: 27.92 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3968, allocations: 8 kB / 411 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.3969, allocations: 7.938 kB / 411 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.3969, allocations: 19.86 kB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.397, allocations: 8 kB / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.397, allocations: 0 / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.397, allocations: 15.97 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.3971, allocations: 19.81 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.3972, allocations: 39.84 kB / 411.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3972, allocations: 0 / 411.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3972, allocations: 0 / 411.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3972, allocations: 0 / 411.1 MB, free: 15.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000458/0.3977, allocations: 359.1 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3977, allocations: 20.02 kB / 411.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.3978, allocations: 12.84 kB / 411.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3981, allocations: 189.4 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3981, allocations: 4.375 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3981, allocations: 4.375 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3983, allocations: 93.55 kB / 411.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3984, allocations: 192 / 411.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3984, allocations: 3.938 kB / 411.7 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3984, allocations: 0 / 411.7 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.3985, allocations: 19.98 kB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.3988, allocations: 257.7 kB / 412 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.3989, allocations: 53.09 kB / 412.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.3989, allocations: 17.77 kB / 412.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.399, allocations: 7.938 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.399, allocations: 34.56 kB / 412.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.399, allocations: 0 / 412.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.3992, allocations: 69.52 kB / 412.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3993, allocations: 77.11 kB / 412.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3994, allocations: 137.8 kB / 412.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3994, allocations: 25.7 kB / 412.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.3995, allocations: 84.14 kB / 412.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.3995, allocations: 0 / 412.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.3996, allocations: 21.88 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3997, allocations: 322.8 kB / 412.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.3997, allocations: 4 kB / 412.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.3997, allocations: 17.7 kB / 412.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.3998, allocations: 37.7 kB / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3998, allocations: 0 / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.836e-05/0.3999, allocations: 49.62 kB / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3999, allocations: 8 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4, allocations: 0 / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4, allocations: 3.938 kB / 413 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.4001, allocations: 4 kB / 413 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4001, allocations: 0 / 413 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.4001, allocations: 7.984 kB / 413 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4001, allocations: 4.062 kB / 413 MB, free: 13.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.394e-05/0.4002, allocations: 121.7 kB / 413.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.4003, allocations: 41.59 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.4003, allocations: 15.83 kB / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4003, allocations: 0 / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4003, allocations: 0 / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4003, allocations: 0 / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.4005, allocations: 165.6 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4005, allocations: 4 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.4005, allocations: 8.031 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4006, allocations: 7.875 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4006, allocations: 4 kB / 413.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4006, allocations: 3.938 kB / 413.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4006, allocations: 4 kB / 413.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.4007, allocations: 168.2 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.4008, allocations: 85.09 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4008, allocations: 0 / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.4009, allocations: 4 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4009, allocations: 4 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4009, allocations: 0 / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.401, allocations: 103.2 kB / 413.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.401, allocations: 0 / 413.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.4012, allocations: 8 kB / 413.7 MB, free: 12.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001248/0.4014, allocations: 103.2 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.4015, allocations: 15.98 kB / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4015, allocations: 0 / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.4015, allocations: 8 kB / 413.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.4019, allocations: 19.89 kB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.4022, allocations: 146.6 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.4025, allocations: 0.6885 MB / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.293e-05/0.4025, allocations: 0 / 414.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.4025, allocations: 11.44 kB / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4025, allocations: 0 / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Templates: time 0.002545/0.4051, allocations: 453.5 kB / 415.1 MB, free: 11.27 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches