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/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.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/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007831/0.000783, allocations: 104.8 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 4 kB / 358.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.4083, allocations: 77.26 MB / 486.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4086, allocations: 75.95 kB / 486.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002833/0.4114, allocations: 1.15 MB / 487.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4114, allocations: 1.781 kB / 487.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4114, allocations: 4 kB / 487.9 MB, free: 13.08 MB / 362.7 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.0003543/0.4118, allocations: 366.7 kB / 488.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4119, allocations: 8.031 kB / 488.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.4119, allocations: 12.83 kB / 488.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.4121, allocations: 176.3 kB / 488.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4121, allocations: 8.375 kB / 488.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4121, allocations: 384 / 488.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.4124, allocations: 121.5 kB / 488.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4124, allocations: 192 / 488.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4125, allocations: 3.938 kB / 488.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4125, allocations: 7.875 kB / 488.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.4126, allocations: 23.98 kB / 488.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.4129, allocations: 273.7 kB / 488.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.4131, allocations: 142.2 kB / 489 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.4132, allocations: 33.77 kB / 489 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4132, allocations: 0 / 489 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4133, allocations: 34.56 kB / 489.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.4133, allocations: 4 kB / 489.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002426/0.4135, allocations: 89.59 kB / 489.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4136, allocations: 77.11 kB / 489.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4137, allocations: 135.6 kB / 489.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.4137, allocations: 25.7 kB / 489.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.4138, allocations: 88.14 kB / 489.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.4138, allocations: 0 / 489.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.4138, allocations: 0 / 489.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4139, allocations: 322.8 kB / 489.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.414, allocations: 8.031 kB / 489.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.414, allocations: 39.42 kB / 489.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.4141, allocations: 51.36 kB / 489.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4141, allocations: 0 / 489.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001217/0.4142, allocations: 73.45 kB / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4143, allocations: 4.125 kB / 490 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4143, allocations: 8 kB / 490 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4143, allocations: 0 / 490 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.4143, allocations: 8 kB / 490 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4144, allocations: 3.938 kB / 490 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.4144, allocations: 15.92 kB / 490 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.4144, allocations: 4 kB / 490 MB, free: 10.66 MB / 362.7 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 (sample1.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4145, allocations: 117.8 kB / 490.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.4146, allocations: 49.88 kB / 490.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.4147, allocations: 16.3 kB / 490.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4147, allocations: 3.984 kB / 490.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4147, allocations: 0 / 490.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4147, allocations: 0 / 490.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4149, allocations: 173.6 kB / 490.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4149, allocations: 0 / 490.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.415, allocations: 11.98 kB / 490.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.415, allocations: 3.938 kB / 490.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.415, allocations: 0 / 490.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.415, allocations: 4 kB / 490.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.415, allocations: 4 kB / 490.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.4152, allocations: 168.2 kB / 490.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.4152, allocations: 96.94 kB / 490.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4153, allocations: 4 kB / 490.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.4153, allocations: 4 kB / 490.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4154, allocations: 4 kB / 490.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4154, allocations: 0 / 490.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.4154, allocations: 110.5 kB / 490.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4155, allocations: 0 / 490.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.4157, allocations: 4 kB / 490.7 MB, free: 9.793 MB / 362.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: 4 (sample1.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.4158, allocations: 103.2 kB / 490.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.4159, allocations: 31.98 kB / 490.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4159, allocations: 0 / 490.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.416, allocations: 19.86 kB / 490.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4163, allocations: 34.12 kB / 490.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.4166, allocations: 157.6 kB / 491.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.417, allocations: 0.6926 MB / 491.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.417, allocations: 4 kB / 491.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.417, allocations: 7.438 kB / 491.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4171, allocations: 0 / 491.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of Templates: time 0.002621/0.4197, allocations: 451.8 kB / 492.2 MB, free: 8.25 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches