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.0009776/0.0009777, allocations: 197.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008326/0.0008326, allocations: 102.5 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001936/0.0001937, allocations: 4 kB / 357.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1882, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08441/0.2726, allocations: 77.33 MB / 486.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.2729, allocations: 75.95 kB / 486.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00269/0.2756, allocations: 1.157 MB / 488 MB, free: 12.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2756, allocations: 0 / 488 MB, free: 12.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2756, allocations: 0 / 488 MB, free: 12.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.0003199/0.276, allocations: 360.3 kB / 488.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.276, allocations: 13.5 kB / 488.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.2761, allocations: 11.91 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2762, allocations: 179 kB / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2762, allocations: 4 kB / 488.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.2763, allocations: 8 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.2765, allocations: 117 kB / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2765, allocations: 0 / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2766, allocations: 0 / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2766, allocations: 4 kB / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.2766, allocations: 27.92 kB / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.277, allocations: 265.7 kB / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.2772, allocations: 146.2 kB / 489.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2772, allocations: 4.062 kB / 489.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2772, allocations: 30.56 kB / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2772, allocations: 0 / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000221/0.2774, allocations: 85.61 kB / 489.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.2775, allocations: 89.09 kB / 489.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2776, allocations: 120.5 kB / 489.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2776, allocations: 25.7 kB / 489.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.2777, allocations: 92.05 kB / 489.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.2777, allocations: 0 / 489.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2777, allocations: 4.125 kB / 489.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.2778, allocations: 314.8 kB / 489.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.2778, allocations: 15.92 kB / 489.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.2779, allocations: 35.42 kB / 489.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.2779, allocations: 16 kB / 489.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2779, allocations: 0 / 489.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001439/0.2781, allocations: 73.56 kB / 490 MB, free: 9.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2781, allocations: 4 kB / 490 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2781, allocations: 4 kB / 490 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2782, allocations: 4.125 kB / 490 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.2782, allocations: 11.94 kB / 490 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2782, allocations: 0 / 490 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.2783, allocations: 7.984 kB / 490 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2783, allocations: 4 kB / 490 MB, free: 9.777 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 6.928e-05/0.2784, allocations: 113.8 kB / 490.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.2784, allocations: 53.83 kB / 490.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.2785, allocations: 12.3 kB / 490.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2785, allocations: 7.984 kB / 490.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2785, allocations: 3.938 kB / 490.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2785, allocations: 0 / 490.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2787, allocations: 177.6 kB / 490.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2787, allocations: 3.938 kB / 490.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.2787, allocations: 11.98 kB / 490.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2787, allocations: 3.953 kB / 490.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.2787, allocations: 0 / 490.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.2788, allocations: 4 kB / 490.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2788, allocations: 0 / 490.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2789, allocations: 178 kB / 490.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.279, allocations: 96.95 kB / 490.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.279, allocations: 4 kB / 490.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.2791, allocations: 4 kB / 490.7 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.2791, allocations: 7.938 kB / 490.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2791, allocations: 3.938 kB / 490.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.2792, allocations: 110.1 kB / 490.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2792, allocations: 0 / 490.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000203/0.2794, allocations: 4 kB / 490.8 MB, free: 8.879 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 8.932e-05/0.2795, allocations: 99.25 kB / 490.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.2796, allocations: 35.92 kB / 490.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2796, allocations: 0 / 490.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.2797, allocations: 11.98 kB / 490.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2799, allocations: 26.2 kB / 491 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.2801, allocations: 165.7 kB / 491.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2804, allocations: 0.6926 MB / 491.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.171e-05/0.2804, allocations: 3.984 kB / 491.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.2804, allocations: 11.44 kB / 491.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2804, allocations: 3.938 kB / 491.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of Templates: time 0.001988/0.2824, allocations: 430.6 kB / 492.3 MB, free: 7.359 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/jenkins/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