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.001132/0.001132, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008841/0.0008842, allocations: 84.73 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.127e-05, allocations: 4 kB / 350.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 51.48 MB / 402 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.4696, allocations: 77.27 MB / 479.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.4698, allocations: 73.98 kB / 479.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002427/0.4722, allocations: 1.154 MB / 480.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4722, allocations: 0 / 480.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4723, allocations: 4 kB / 480.5 MB, free: 11.15 MB / 346.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.0002544/0.4725, allocations: 342.6 kB / 480.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4726, allocations: 8.031 kB / 480.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.4726, allocations: 7.281 kB / 480.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4728, allocations: 192.1 kB / 481.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4728, allocations: 5.484 kB / 481.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.4728, allocations: 8.781 kB / 481.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.473, allocations: 109.6 kB / 481.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.473, allocations: 3.984 kB / 481.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4731, allocations: 4 kB / 481.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4731, allocations: 0 / 481.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.4731, allocations: 7.625 kB / 481.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.4734, allocations: 275.2 kB / 481.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4735, allocations: 125.8 kB / 481.6 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.4736, allocations: 28.92 kB / 481.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4736, allocations: 8 kB / 481.6 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.4736, allocations: 35.67 kB / 481.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4736, allocations: 0 / 481.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001336/0.4738, allocations: 52.84 kB / 481.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.4738, allocations: 84.3 kB / 481.8 MB, free: 9.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.4739, allocations: 122.9 kB / 481.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.4739, allocations: 25.7 kB / 481.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.4739, allocations: 95.48 kB / 482 MB, free: 9.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.4739, allocations: 0 / 482 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.474, allocations: 0 / 482 MB, free: 9.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.474, allocations: 318.6 kB / 482.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.474, allocations: 4 kB / 482.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.474, allocations: 28.47 kB / 482.4 MB, free: 9.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.763e-05/0.4741, allocations: 12 kB / 482.4 MB, free: 9.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4741, allocations: 0 / 482.4 MB, free: 9.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.36e-05/0.4741, allocations: 68.42 kB / 482.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4742, allocations: 4 kB / 482.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4742, allocations: 0 / 482.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4742, allocations: 4.656 kB / 482.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.4742, allocations: 16.8 kB / 482.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4743, allocations: 0 / 482.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.4743, allocations: 5.312 kB / 482.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4743, allocations: 4 kB / 482.5 MB, free: 9.016 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 3.497e-05/0.4743, allocations: 101 kB / 482.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.4744, allocations: 56.86 kB / 482.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.4744, allocations: 11.69 kB / 482.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4745, allocations: 0.5 kB / 482.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4745, allocations: 4 kB / 482.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4745, allocations: 0 / 482.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.4746, allocations: 171.3 kB / 482.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4746, allocations: 0.5 kB / 482.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.4746, allocations: 11.98 kB / 482.8 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4747, allocations: 6.203 kB / 482.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4747, allocations: 4.5 kB / 482.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4747, allocations: 4 kB / 482.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4747, allocations: 0 / 482.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.492e-05/0.4748, allocations: 173.5 kB / 483 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.4748, allocations: 92.95 kB / 483.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.4748, allocations: 5.438 kB / 483.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.4749, allocations: 3.312 kB / 483.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.4749, allocations: 7.984 kB / 483.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.4749, allocations: 0 / 483.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.48e-05/0.475, allocations: 108.6 kB / 483.2 MB, free: 8.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.475, allocations: 0 / 483.2 MB, free: 8.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.4752, allocations: 4 kB / 483.2 MB, free: 8.199 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 6.912e-05/0.4753, allocations: 95.25 kB / 483.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.4754, allocations: 22.38 kB / 483.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4754, allocations: 0 / 483.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.4754, allocations: 4 kB / 483.4 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.4756, allocations: 26 kB / 483.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.4758, allocations: 94.66 kB / 483.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4759, allocations: 0.6965 MB / 484.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.128e-05/0.476, allocations: 0 / 484.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.476, allocations: 15.38 kB / 484.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.476, allocations: 1.594 kB / 484.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of Templates: time 0.002127/0.4781, allocations: 445.3 kB / 484.6 MB, free: 6.824 MB / 346.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