Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001552/0.001552, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002009/0.002009, allocations: 202.5 kB / 23.73 MB, free: 4.379 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 51.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3225, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003231/0.3257, allocations: 1.516 MB / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.3262, allocations: 135.5 kB / 433.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.3262, allocations: 4 kB / 433.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.119e-05/0.3263, allocations: 3.938 kB / 433.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3265, allocations: 11.92 kB / 433.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.3267, allocations: 31.91 kB / 433.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3268, allocations: 31.86 kB / 433.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3269, allocations: 8 kB / 433.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.327, allocations: 15.92 kB / 433.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.327, allocations: 7.938 kB / 433.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.327, allocations: 0 / 433.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.327, allocations: 4 kB / 433.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3271, allocations: 23.91 kB / 433.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.3271, allocations: 11.94 kB / 433.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3272, allocations: 35.62 kB / 433.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3272, allocations: 0 / 433.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3272, allocations: 4 kB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3272, allocations: 0 / 433.4 MB, free: 4.855 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.0004696/0.3277, allocations: 288.4 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3278, allocations: 15.95 kB / 433.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3278, allocations: 8.891 kB / 433.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.328, allocations: 134.4 kB / 433.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3281, allocations: 4.375 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.3281, allocations: 384 / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3283, allocations: 89.61 kB / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3283, allocations: 192 / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3283, allocations: 7.938 kB / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3283, allocations: 0 / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.3284, allocations: 12 kB / 434 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3287, allocations: 209.4 kB / 434.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.3288, allocations: 37.22 kB / 434.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.3289, allocations: 21.77 kB / 434.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3289, allocations: 3.938 kB / 434.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3289, allocations: 42.5 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3289, allocations: 0 / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002355/0.3292, allocations: 57.58 kB / 434.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.3292, allocations: 77.11 kB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3294, allocations: 132.5 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3294, allocations: 33.7 kB / 434.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.3295, allocations: 88.12 kB / 434.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.3295, allocations: 3.953 kB / 434.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3295, allocations: 17.72 kB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3297, allocations: 314.8 kB / 435 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.3297, allocations: 0 / 435 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.3297, allocations: 25.7 kB / 435 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.3298, allocations: 17.66 kB / 435 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3298, allocations: 4.062 kB / 435 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.3299, allocations: 61.55 kB / 435.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3299, allocations: 4 kB / 435.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3299, allocations: 0 / 435.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3299, allocations: 0 / 435.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.429e-05/0.33, allocations: 7.938 kB / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.33, allocations: 3.984 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.33, allocations: 0 / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.33, allocations: 0 / 435.1 MB, free: 2.957 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 (sample1.u,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.0001022/0.3301, allocations: 121.9 kB / 435.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.3302, allocations: 37.59 kB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.3302, allocations: 19.41 kB / 435.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3302, allocations: 0 / 435.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3302, allocations: 0 / 435.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3302, allocations: 4 kB / 435.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3304, allocations: 113.2 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3304, allocations: 0 / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-06/0.3304, allocations: 0 / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3304, allocations: 3.938 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3304, allocations: 4.031 kB / 435.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3304, allocations: 7.938 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3304, allocations: 0 / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3306, allocations: 152.4 kB / 435.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.3306, allocations: 15.88 kB / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3306, allocations: 0 / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.3307, allocations: 4 kB / 435.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3307, allocations: 3.984 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3307, allocations: 4 kB / 435.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.3308, allocations: 99.27 kB / 435.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3308, allocations: 4.031 kB / 435.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.331, allocations: 4 kB / 435.7 MB, free: 2.301 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 (sample1.u,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.0001215/0.3311, allocations: 99.25 kB / 435.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.3312, allocations: 15.92 kB / 435.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3312, allocations: 0 / 435.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.3313, allocations: 4 kB / 435.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3316, allocations: 19.95 kB / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.3319, allocations: 153.9 kB / 436 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.203e-05/0.332, allocations: 71.27 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.135e-05/0.332, allocations: 8 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.3321, allocations: 7.438 kB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3321, allocations: 0 / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Templates: time 0.003152/0.3352, allocations: 497.7 kB / 436.5 MB, free: 1.398 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.640133284032345]