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.0009889/0.000989, allocations: 198.9 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.21/1.21, allocations: 227.2 MB / 245 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007973/0.0007973, allocations: 101.3 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002308, allocations: 4 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08338/0.271, allocations: 77.15 MB / 486.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.2713, allocations: 83.94 kB / 486.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002715/0.274, allocations: 1.093 MB / 487.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.274, allocations: 0.875 kB / 487.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.274, allocations: 4 kB / 487.7 MB, free: 12.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003003/0.2743, allocations: 350.3 kB / 488.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2744, allocations: 12.03 kB / 488.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.2744, allocations: 7.906 kB / 488.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2746, allocations: 182.9 kB / 488.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2746, allocations: 4 kB / 488.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.2746, allocations: 3.938 kB / 488.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.2748, allocations: 95.59 kB / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2748, allocations: 3.984 kB / 488.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.2749, allocations: 4 kB / 488.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2749, allocations: 0 / 488.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.2749, allocations: 19.92 kB / 488.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.2752, allocations: 265.7 kB / 488.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.2753, allocations: 57.14 kB / 488.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2753, allocations: 0 / 488.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2754, allocations: 30.56 kB / 488.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2754, allocations: 0 / 488.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.2756, allocations: 77.58 kB / 488.8 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2757, allocations: 77.11 kB / 488.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2758, allocations: 124.5 kB / 489 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.2758, allocations: 29.7 kB / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.2758, allocations: 84.08 kB / 489.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.2758, allocations: 8.25 kB / 489.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.2758, allocations: 0 / 489.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.2759, allocations: 314.8 kB / 489.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.276, allocations: 7.984 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.276, allocations: 25.66 kB / 489.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.2761, allocations: 16.05 kB / 489.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2761, allocations: 0 / 489.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.497e-05/0.2762, allocations: 57.55 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2762, allocations: 8 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2762, allocations: 3.938 kB / 489.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2762, allocations: 4 kB / 489.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.2763, allocations: 12.05 kB / 489.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.2763, allocations: 4 kB / 489.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.2763, allocations: 0 / 489.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2763, allocations: 4 kB / 489.6 MB, free: 10.18 MB / 362.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 (sample1.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.2764, allocations: 113.8 kB / 489.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.2765, allocations: 41.64 kB / 489.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.2765, allocations: 7.875 kB / 489.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2765, allocations: 0 / 489.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2765, allocations: 8.031 kB / 489.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2765, allocations: 0 / 489.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2767, allocations: 161.7 kB / 489.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2767, allocations: 0 / 489.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.2767, allocations: 7.938 kB / 489.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2768, allocations: 7.953 kB / 489.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2768, allocations: 0 / 489.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2768, allocations: 0 / 489.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2768, allocations: 3.938 kB / 489.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2769, allocations: 174 kB / 490.1 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.277, allocations: 96.95 kB / 490.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.277, allocations: 4 kB / 490.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.2771, allocations: 4 kB / 490.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.2771, allocations: 7.969 kB / 490.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.2771, allocations: 0 / 490.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.2772, allocations: 110.5 kB / 490.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2772, allocations: 0 / 490.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000193/0.2774, allocations: 4 kB / 490.3 MB, free: 9.332 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: 2 (sample1.u,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 (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.319e-05/0.2775, allocations: 99.19 kB / 490.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2776, allocations: 24.05 kB / 490.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2776, allocations: 4 kB / 490.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.2776, allocations: 7.984 kB / 490.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.2778, allocations: 10.27 kB / 490.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.2781, allocations: 161.7 kB / 490.6 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.2783, allocations: 0.6926 MB / 491.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2783, allocations: 0 / 491.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.2784, allocations: 7.438 kB / 491.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2784, allocations: 0 / 491.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of Templates: time 0.001879/0.2802, allocations: 388.1 kB / 491.7 MB, free: 7.902 MB / 362.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/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