Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 98.17 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.67e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08782, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.4083, allocations: 75.8 MB / 463.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4086, allocations: 71.95 kB / 463.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003361/0.412, allocations: 1.152 MB / 464.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.412, allocations: 3.938 kB / 464.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.412, allocations: 4 kB / 464.5 MB, free: 1.824 MB / 330.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.0004733/0.4125, allocations: 348.2 kB / 464.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.4126, allocations: 8.031 kB / 464.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.4127, allocations: 15.84 kB / 464.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.4129, allocations: 186.9 kB / 465 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.413, allocations: 0 / 465 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.413, allocations: 4 kB / 465 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.924e-05/0.4131, allocations: 15.94 kB / 465.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4134, allocations: 101 kB / 465.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4134, allocations: 0 / 465.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4134, allocations: 0 / 465.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4134, allocations: 7.953 kB / 465.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.4138, allocations: 234.4 kB / 465.4 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.414, allocations: 134.3 kB / 465.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.4141, allocations: 21.81 kB / 465.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.4142, allocations: 7.984 kB / 465.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4142, allocations: 30.56 kB / 465.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4142, allocations: 4 kB / 465.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001551/0.4144, allocations: 57.5 kB / 465.6 MB, free: 484 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.4144, allocations: 81.09 kB / 465.7 MB, free: 384 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4145, allocations: 118.8 kB / 465.8 MB, free: 256 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4146, allocations: 25.7 kB / 465.9 MB, free: 224 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.4146, allocations: 88.14 kB / 465.9 MB, free: 132 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.4146, allocations: 0 / 465.9 MB, free: 132 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.4147, allocations: 3.938 kB / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4148, allocations: 318.9 kB / 466.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.4148, allocations: 8 kB / 466.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.4148, allocations: 23.44 kB / 466.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.4149, allocations: 8 kB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4149, allocations: 0 / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.712e-05/0.415, allocations: 61.47 kB / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.415, allocations: 4 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.415, allocations: 4 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.415, allocations: 0 / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.4151, allocations: 11.98 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4151, allocations: 3.953 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.4152, allocations: 7.938 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.4152, allocations: 4 kB / 466.4 MB, free: 15.65 MB / 346.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 () * 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 7.691e-05/0.4153, allocations: 111 kB / 466.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.4153, allocations: 49.53 kB / 466.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.4154, allocations: 8.531 kB / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4154, allocations: 7.984 kB / 466.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4154, allocations: 0 / 466.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4154, allocations: 3.953 kB / 466.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.4156, allocations: 142.2 kB / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4156, allocations: 0 / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.4156, allocations: 8 kB / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4157, allocations: 8 kB / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4157, allocations: 5.172 kB / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4157, allocations: 0 / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4157, allocations: 0 / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.4159, allocations: 166 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.4159, allocations: 96.94 kB / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.416, allocations: 8 kB / 467 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.416, allocations: 0 / 467 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.4161, allocations: 7.938 kB / 467 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4161, allocations: 0 / 467 MB, free: 14.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.233e-05/0.4162, allocations: 100.5 kB / 467.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4162, allocations: 0 / 467.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.4164, allocations: 7.953 kB / 467.1 MB, free: 14.85 MB / 346.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 () * 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.0001575/0.4166, allocations: 101.5 kB / 467.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4167, allocations: 19.98 kB / 467.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4167, allocations: 3.938 kB / 467.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.4167, allocations: 4 kB / 467.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.417, allocations: 12.03 kB / 467.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.4172, allocations: 100.8 kB / 467.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.4175, allocations: 0.6888 MB / 468 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.666e-05/0.4175, allocations: 11.98 kB / 468 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.4176, allocations: 7.438 kB / 468.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4176, allocations: 0 / 468.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of Templates: time 0.002439/0.42, allocations: 421.7 kB / 468.5 MB, free: 13.43 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches