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.001024/0.001024, 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.362/1.362, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.00109, allocations: 91.14 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.531e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4623, allocations: 77.08 MB / 479.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.4626, allocations: 79.36 kB / 479.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002343/0.4649, allocations: 1.098 MB / 480.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4649, allocations: 0 / 480.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.465, allocations: 4 kB / 480.3 MB, free: 11.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002586/0.4652, allocations: 338.7 kB / 480.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4653, allocations: 8.031 kB / 480.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.4653, allocations: 7.281 kB / 480.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4655, allocations: 187.7 kB / 480.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4655, allocations: 0.8594 kB / 480.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4655, allocations: 5.719 kB / 480.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.4657, allocations: 87.55 kB / 480.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4657, allocations: 0 / 480.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4658, allocations: 4.5 kB / 480.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4658, allocations: 0.6562 kB / 480.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.4658, allocations: 7.625 kB / 480.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.4661, allocations: 272.9 kB / 481.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.4662, allocations: 37.16 kB / 481.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.4662, allocations: 17.72 kB / 481.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4662, allocations: 0.75 kB / 481.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.4662, allocations: 35.56 kB / 481.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.4662, allocations: 4 kB / 481.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.4664, allocations: 45.38 kB / 481.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.4664, allocations: 77.11 kB / 481.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4665, allocations: 122.9 kB / 481.5 MB, free: 9.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.4666, allocations: 27.3 kB / 481.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.4666, allocations: 91.98 kB / 481.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.4666, allocations: 0 / 481.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.4666, allocations: 0 / 481.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.4667, allocations: 322.5 kB / 482 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.4667, allocations: 4 kB / 482 MB, free: 9.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.4667, allocations: 14.81 kB / 482 MB, free: 9.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.36e-05/0.4667, allocations: 4 kB / 482 MB, free: 9.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4667, allocations: 0 / 482 MB, free: 9.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.363e-05/0.4668, allocations: 45.69 kB / 482 MB, free: 9.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4668, allocations: 11.97 kB / 482 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4668, allocations: 3.984 kB / 482 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4668, allocations: 0 / 482 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.4669, allocations: 8 kB / 482 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4669, allocations: 0 / 482 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.467, allocations: 7.75 kB / 482 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.467, allocations: 0 / 482 MB, free: 9.363 MB / 346.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 () * 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 4.412e-05/0.467, allocations: 105.5 kB / 482.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.4671, allocations: 49.55 kB / 482.2 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.4671, allocations: 15.41 kB / 482.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4671, allocations: 0.5625 kB / 482.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4671, allocations: 0 / 482.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4671, allocations: 1.172 kB / 482.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.4673, allocations: 165.3 kB / 482.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4673, allocations: 0.8125 kB / 482.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.4673, allocations: 8 kB / 482.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4673, allocations: 3.953 kB / 482.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.4673, allocations: 32 / 482.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4674, allocations: 4 kB / 482.4 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4674, allocations: 4.562 kB / 482.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.226e-05/0.4674, allocations: 153.8 kB / 482.5 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.4675, allocations: 96.83 kB / 482.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.4675, allocations: 0 / 482.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.4676, allocations: 8.031 kB / 482.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.4676, allocations: 8.859 kB / 482.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4676, allocations: 0 / 482.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.005e-05/0.4677, allocations: 100.2 kB / 482.8 MB, free: 8.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4677, allocations: 0 / 482.8 MB, free: 8.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.4679, allocations: 4 kB / 482.8 MB, free: 8.582 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: 2 (sample1.u,sample1.y) * Number of discrete 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.704e-05/0.468, allocations: 103.2 kB / 482.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.4681, allocations: 15.94 kB / 482.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4681, allocations: 0 / 482.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.4681, allocations: 9.531 kB / 482.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4683, allocations: 10.47 kB / 482.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.4686, allocations: 88.95 kB / 483 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.4687, allocations: 0.6925 MB / 483.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.491e-05/0.4687, allocations: 4.281 kB / 483.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4688, allocations: 11.44 kB / 483.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4688, allocations: 0 / 483.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of Templates: time 0.002773/0.4716, allocations: 397.1 kB / 484.1 MB, free: 7.277 MB / 346.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