Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 47.92 kB / 379 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4006, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004402/0.405, allocations: 1.526 MB / 433.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005582/0.4056, allocations: 135.5 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4057, allocations: 3.938 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.675e-05/0.4057, allocations: 7.984 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.4059, allocations: 7.875 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4062, allocations: 35.86 kB / 434 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4064, allocations: 31.91 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4066, allocations: 11.98 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.4066, allocations: 7.938 kB / 434.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.4067, allocations: 15.92 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4067, allocations: 0 / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.4067, allocations: 4 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.4068, allocations: 11.94 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.4068, allocations: 15.88 kB / 434.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.407, allocations: 45.44 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.407, allocations: 0 / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.407, allocations: 0 / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.407, allocations: 4 kB / 434.2 MB, free: 4.859 MB / 334.1 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.0006455/0.4077, allocations: 282.1 kB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.4077, allocations: 12.03 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.4078, allocations: 4.891 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.4081, allocations: 142.3 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4081, allocations: 4.375 kB / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4082, allocations: 4.375 kB / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.4085, allocations: 93.61 kB / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4085, allocations: 192 / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4085, allocations: 3.938 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.4086, allocations: 7.984 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.4086, allocations: 8 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.409, allocations: 213.4 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4091, allocations: 49.2 kB / 435 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.4092, allocations: 17.72 kB / 435 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.4092, allocations: 3.938 kB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4092, allocations: 38.5 kB / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4092, allocations: 0 / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002633/0.4095, allocations: 57.67 kB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.4096, allocations: 81.05 kB / 435.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.4098, allocations: 145.7 kB / 435.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4098, allocations: 25.7 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.4098, allocations: 88.12 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.4099, allocations: 0 / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.4099, allocations: 13.72 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.4101, allocations: 318.8 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.4101, allocations: 7.984 kB / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.4102, allocations: 13.72 kB / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.4103, allocations: 37.7 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4103, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.4104, allocations: 61.52 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4104, allocations: 4 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4104, allocations: 3.984 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4104, allocations: 0 / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.4105, allocations: 4 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4105, allocations: 4 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.4106, allocations: 4.062 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4106, allocations: 0 / 435.9 MB, free: 2.922 MB / 334.1 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 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.4107, allocations: 129.7 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.4108, allocations: 37.59 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.4108, allocations: 15.77 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4108, allocations: 0 / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4108, allocations: 4 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4108, allocations: 3.984 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.411, allocations: 109.3 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.411, allocations: 0 / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.4111, allocations: 8.031 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4111, allocations: 3.938 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4111, allocations: 0 / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4111, allocations: 8 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4111, allocations: 3.984 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.4113, allocations: 156.3 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.4114, allocations: 15.89 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4114, allocations: 0 / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.4114, allocations: 7.984 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4115, allocations: 8.031 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.4115, allocations: 0 / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.4116, allocations: 103.2 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4116, allocations: 0 / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.4118, allocations: 8 kB / 436.5 MB, free: 2.246 MB / 334.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: 2 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.412, allocations: 99.23 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.4121, allocations: 19.92 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4121, allocations: 0 / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.4121, allocations: 12.12 kB / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4125, allocations: 14.77 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.4129, allocations: 146.3 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.595e-05/0.413, allocations: 75.27 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.413, allocations: 0 / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.413, allocations: 11.44 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.413, allocations: 0 / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of Templates: time 0.003939/0.417, allocations: 0.4923 MB / 437.4 MB, free: 1.336 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.906489429005887]