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/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.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/Complex trunk/package.mo): time 0.002198/0.002198, 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.555/1.555, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001332, allocations: 104.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001026, allocations: 55.91 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.308, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003805/0.3119, allocations: 1.562 MB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004542/0.3124, allocations: 142.6 kB / 408.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3125, allocations: 3.938 kB / 408.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.665e-05/0.3126, allocations: 0 / 408.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.3128, allocations: 7.938 kB / 408.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.3132, allocations: 35.91 kB / 408.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.3133, allocations: 23.98 kB / 408.8 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3134, allocations: 11.92 kB / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.3134, allocations: 14.88 kB / 408.8 MB, free: 26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.3135, allocations: 11.88 kB / 408.9 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3135, allocations: 0 / 408.9 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.3136, allocations: 0 / 408.9 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.3136, allocations: 11.98 kB / 408.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.3137, allocations: 19.81 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3138, allocations: 39.81 kB / 408.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3138, allocations: 4 kB / 408.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3138, allocations: 2.656 kB / 408.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3138, allocations: 0 / 408.9 MB, free: 25.92 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005162/0.3144, allocations: 364.8 kB / 409.3 MB, free: 25.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3144, allocations: 12.59 kB / 409.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.3145, allocations: 4.844 kB / 409.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3147, allocations: 184.8 kB / 409.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3147, allocations: 4.375 kB / 409.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3147, allocations: 4.375 kB / 409.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.315, allocations: 85.61 kB / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.315, allocations: 192 / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.315, allocations: 7.938 kB / 409.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.315, allocations: 4 kB / 409.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.3151, allocations: 19.92 kB / 409.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.3155, allocations: 253.8 kB / 409.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.3156, allocations: 45.09 kB / 409.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3157, allocations: 25.77 kB / 409.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3157, allocations: 3.984 kB / 409.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.3157, allocations: 34.56 kB / 410 MB, free: 24.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3157, allocations: 3.938 kB / 410 MB, free: 24.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000271/0.316, allocations: 65.73 kB / 410 MB, free: 24.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3161, allocations: 85.14 kB / 410.1 MB, free: 24.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3162, allocations: 134 kB / 410.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.3162, allocations: 25.7 kB / 410.3 MB, free: 24.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.3163, allocations: 84.14 kB / 410.4 MB, free: 24.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.3163, allocations: 7.906 kB / 410.4 MB, free: 24.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.3163, allocations: 17.7 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.3164, allocations: 318.8 kB / 410.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.3165, allocations: 12 kB / 410.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.3165, allocations: 25.64 kB / 410.7 MB, free: 23.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.3166, allocations: 25.7 kB / 410.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3166, allocations: 0 / 410.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.3167, allocations: 65.61 kB / 410.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3168, allocations: 6.969 kB / 410.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3168, allocations: 0 / 410.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3168, allocations: 4 kB / 410.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.3169, allocations: 4 kB / 410.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3169, allocations: 3.984 kB / 410.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.317, allocations: 0 / 410.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.317, allocations: 4 kB / 410.8 MB, free: 23.75 MB / 298.7 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 7.377e-05/0.3171, allocations: 127.3 kB / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.3171, allocations: 41.53 kB / 411 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3172, allocations: 7.875 kB / 411 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3172, allocations: 0 / 411 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3172, allocations: 4 kB / 411 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3172, allocations: 0 / 411 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3174, allocations: 169.6 kB / 411.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3174, allocations: 0 / 411.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.3174, allocations: 4 kB / 411.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3175, allocations: 0 / 411.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.3175, allocations: 4.031 kB / 411.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3175, allocations: 4 kB / 411.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3175, allocations: 0 / 411.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.3178, allocations: 0.713 MB / 411.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.3179, allocations: 97.03 kB / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3179, allocations: 0 / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.318, allocations: 4 kB / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.3181, allocations: 0 / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3181, allocations: 11.92 kB / 412 MB, free: 22.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.3182, allocations: 99.27 kB / 412.1 MB, free: 22.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3182, allocations: 0 / 412.1 MB, free: 22.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005512/0.3187, allocations: 4 kB / 412.1 MB, free: 22.32 MB / 298.7 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.0001094/0.3189, allocations: 103.2 kB / 412.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.319, allocations: 19.98 kB / 412.2 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.319, allocations: 0 / 412.2 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.3191, allocations: 11.98 kB / 412.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.3196, allocations: 19.16 kB / 412.3 MB, free: 22.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.32, allocations: 271.2 kB / 412.5 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3202, allocations: 0.6848 MB / 413.2 MB, free: 21.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3203, allocations: 7.938 kB / 413.2 MB, free: 21.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3203, allocations: 7.438 kB / 413.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3203, allocations: 0 / 413.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of Templates: time 0.003153/0.3235, allocations: 414.7 kB / 413.6 MB, free: 20.73 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches