Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001874, 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.002324/0.002324, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.38, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003655/0.3838, allocations: 1.519 MB / 410.8 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.3845, allocations: 135.7 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3846, allocations: 7.938 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.789e-05/0.3848, allocations: 7.938 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.385, allocations: 3.938 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.3854, allocations: 39.89 kB / 411 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3856, allocations: 27.92 kB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3858, allocations: 19.98 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.3858, allocations: 11.81 kB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.386, allocations: 19.86 kB / 411 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.386, allocations: 0 / 411 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.386, allocations: 4 kB / 411 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.3862, allocations: 15.94 kB / 411.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.3862, allocations: 23.86 kB / 411.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3864, allocations: 51.55 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.3864, allocations: 0 / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3865, allocations: 0 / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3865, allocations: 0 / 411.1 MB, free: 15.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007474/0.3872, allocations: 367.2 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.3873, allocations: 12.03 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.3874, allocations: 8.891 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.3879, allocations: 192.2 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.388, allocations: 4.375 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.388, allocations: 4.375 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.3885, allocations: 117.5 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3885, allocations: 192 / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3885, allocations: 11.88 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3885, allocations: 0 / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.3886, allocations: 19.98 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3891, allocations: 253.8 kB / 412.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3894, allocations: 142.2 kB / 412.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.3895, allocations: 29.77 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.3895, allocations: 0 / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3896, allocations: 42.56 kB / 412.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.3896, allocations: 4 kB / 412.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003388/0.3899, allocations: 77.56 kB / 412.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.39, allocations: 84.98 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3902, allocations: 141.3 kB / 412.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3902, allocations: 29.7 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.3903, allocations: 84.14 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3903, allocations: 3.953 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.3904, allocations: 25.84 kB / 412.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003002/0.3907, allocations: 318.8 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.3907, allocations: 4 kB / 413.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.3908, allocations: 35.42 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.3909, allocations: 51.36 kB / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3909, allocations: 0 / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001355/0.3911, allocations: 65.56 kB / 413.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3911, allocations: 7.984 kB / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3911, allocations: 0 / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.3912, allocations: 8.406 kB / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.3912, allocations: 11.94 kB / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3913, allocations: 0 / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.3913, allocations: 7.953 kB / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3913, allocations: 0 / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001482/0.3915, allocations: 125.8 kB / 413.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.3916, allocations: 49.62 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.3916, allocations: 12.25 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3916, allocations: 0 / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3916, allocations: 8 kB / 413.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3917, allocations: 0 / 413.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3919, allocations: 169.6 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3919, allocations: 3.938 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.392, allocations: 15.92 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.392, allocations: 0 / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.392, allocations: 0 / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.392, allocations: 4 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.392, allocations: 0 / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.3923, allocations: 168.3 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.3924, allocations: 93.09 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3924, allocations: 3.938 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.3925, allocations: 0 / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.3925, allocations: 4 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3925, allocations: 4 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.3926, allocations: 107.2 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.3927, allocations: 4 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3929, allocations: 7.938 kB / 414 MB, free: 12.42 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000152/0.393, allocations: 99.25 kB / 414.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.3932, allocations: 27.92 kB / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3932, allocations: 0 / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.3933, allocations: 12.23 kB / 414.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3937, allocations: 28.02 kB / 414.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.394, allocations: 154.2 kB / 414.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3945, allocations: 0.6924 MB / 415 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.319e-05/0.3945, allocations: 4 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.3946, allocations: 7.438 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3946, allocations: 0 / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.00365/0.3982, allocations: 0.5056 MB / 415.5 MB, free: 10.84 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches