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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00194/0.00194, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002227/0.002227, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.127e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002452/0.002473, allocations: 1.529 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.002867, allocations: 148.4 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.002946, allocations: 6.75 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.003002, allocations: 4.594 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.003139, allocations: 10.8 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.003373, allocations: 37.16 kB / 326.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.003469, allocations: 32.72 kB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.003562, allocations: 15.58 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.003626, allocations: 18.25 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.003676, allocations: 10.55 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003695, allocations: 2.625 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.003706, allocations: 6.438 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.003752, allocations: 10.36 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.003784, allocations: 16.8 kB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003892, allocations: 41.77 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003894, allocations: 0 / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003895, allocations: 1.625 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003898, allocations: 0 / 326.9 MB, free: 15.26 MB / 302.1 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.0004369/0.004335, allocations: 294.9 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.004371, allocations: 12.77 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.004409, allocations: 9.234 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.004625, allocations: 137.5 kB / 327.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004636, allocations: 1.562 kB / 327.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.004648, allocations: 11.47 kB / 327.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.004919, allocations: 112 kB / 327.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.004928, allocations: 0.9375 kB / 327.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004936, allocations: 384 / 327.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.00494, allocations: 5.719 kB / 327.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.005027, allocations: 30.61 kB / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.0053, allocations: 208.3 kB / 327.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.005478, allocations: 58.7 kB / 327.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.005546, allocations: 26.59 kB / 327.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.005565, allocations: 1.281 kB / 327.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.005605, allocations: 37.89 kB / 327.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.005606, allocations: 0 / 327.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.005854, allocations: 85.02 kB / 327.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.005917, allocations: 79.8 kB / 328 MB, free: 14.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.006048, allocations: 140.7 kB / 328.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.006064, allocations: 27.08 kB / 328.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.006119, allocations: 86.09 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.006125, allocations: 3.938 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.006162, allocations: 23.05 kB / 328.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.006301, allocations: 313.5 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.006337, allocations: 5.734 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.006364, allocations: 9.312 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.006429, allocations: 21.64 kB / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00643, allocations: 0 / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001012/0.006531, allocations: 41.34 kB / 328.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.006544, allocations: 5.594 kB / 328.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.006551, allocations: 4.828 kB / 328.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006563, allocations: 1 kB / 328.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.006605, allocations: 7.109 kB / 328.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.006611, allocations: 9.016 kB / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.006636, allocations: 2.312 kB / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.00664, allocations: 0.9688 kB / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.006729, allocations: 116.9 kB / 328.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.006806, allocations: 48.19 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.006841, allocations: 20.39 kB / 328.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006843, allocations: 0.9688 kB / 328.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.006848, allocations: 1.469 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.006851, allocations: 0.9844 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.00699, allocations: 114 kB / 329 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006991, allocations: 1.062 kB / 329 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.007042, allocations: 9.984 kB / 329 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007043, allocations: 0 / 329 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.007053, allocations: 5.188 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.007057, allocations: 5 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.007061, allocations: 5.938 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.007263, allocations: 158.1 kB / 329.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.007302, allocations: 17.3 kB / 329.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.007316, allocations: 5.125 kB / 329.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.00738, allocations: 7.703 kB / 329.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.007405, allocations: 2.312 kB / 329.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.007413, allocations: 9.094 kB / 329.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.401e-05/0.007487, allocations: 101.1 kB / 329.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.007487, allocations: 0 / 329.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.00771, allocations: 3.562 kB / 329.3 MB, free: 13.02 MB / 302.1 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 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.608e-05/0.007806, allocations: 98.81 kB / 329.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.007935, allocations: 34.59 kB / 329.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007936, allocations: 3.938 kB / 329.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.00797, allocations: 5.688 kB / 329.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.008285, allocations: 17.52 kB / 329.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.008604, allocations: 160.2 kB / 329.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.37e-05/0.008688, allocations: 76.83 kB / 329.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.659e-05/0.008705, allocations: 1.031 kB / 329.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.00873, allocations: 10.72 kB / 329.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.00873, allocations: 4.125 kB / 329.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Templates: time 0.003065/0.01179, allocations: 0.5024 MB / 330.2 MB, free: 12.6 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.306683495640755]