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.001596/0.001596, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001905/0.001905, allocations: 212 kB / 23.74 MB, free: 4.656 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.683/1.683, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001644/0.001644, allocations: 47.92 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3519, allocations: 53.37 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.005621/0.3576, allocations: 1.515 MB / 433.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00082/0.3584, allocations: 135.5 kB / 433.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.3585, allocations: 7.938 kB / 433.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.733e-05/0.3586, allocations: 3.938 kB / 433.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3588, allocations: 3.938 kB / 433.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.3592, allocations: 51 kB / 433.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3594, allocations: 23.92 kB / 433.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3595, allocations: 8 kB / 433.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.3596, allocations: 15.92 kB / 433.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.3597, allocations: 11.94 kB / 433.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.3597, allocations: 4 kB / 433.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.3597, allocations: 0 / 433.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.3598, allocations: 15.92 kB / 433.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3599, allocations: 15.88 kB / 433.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3601, allocations: 47.56 kB / 433.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3601, allocations: 3.938 kB / 433.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3601, allocations: 0 / 433.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3601, allocations: 0 / 433.5 MB, free: 5.094 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.0006879/0.3608, allocations: 287.5 kB / 433.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.3608, allocations: 8.031 kB / 433.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3609, allocations: 8.891 kB / 433.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.3613, allocations: 126.4 kB / 433.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3614, allocations: 12.36 kB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3614, allocations: 384 / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.3617, allocations: 89.61 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3618, allocations: 192 / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3618, allocations: 3.938 kB / 434 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3618, allocations: 4 kB / 434 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.3619, allocations: 11.98 kB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.3624, allocations: 232.8 kB / 434.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3625, allocations: 49.14 kB / 434.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.3626, allocations: 13.78 kB / 434.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.3627, allocations: 0 / 434.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.3627, allocations: 38.5 kB / 434.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.3627, allocations: 4 kB / 434.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.3631, allocations: 53.64 kB / 434.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.3632, allocations: 81.05 kB / 434.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3634, allocations: 137.8 kB / 434.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3634, allocations: 25.7 kB / 434.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.3635, allocations: 80.14 kB / 434.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3635, allocations: 7.953 kB / 434.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.3636, allocations: 21.91 kB / 434.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3638, allocations: 318.8 kB / 435.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.3638, allocations: 3.984 kB / 435.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.3639, allocations: 13.72 kB / 435.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.3639, allocations: 29.64 kB / 435.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.364, allocations: 4.062 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.3641, allocations: 41.64 kB / 435.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3641, allocations: 8 kB / 435.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3641, allocations: 3.984 kB / 435.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3641, allocations: 0 / 435.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.3642, allocations: 4 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3642, allocations: 7.938 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.3642, allocations: 0 / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3642, allocations: 0 / 435.2 MB, free: 3.172 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.0001561/0.3644, allocations: 117.8 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.3645, allocations: 49.58 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.3645, allocations: 11.42 kB / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3645, allocations: 0 / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3646, allocations: 0 / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3646, allocations: 0 / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3649, allocations: 140.7 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3649, allocations: 0 / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.3649, allocations: 8 kB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3649, allocations: 4.031 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3649, allocations: 0 / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3649, allocations: 0 / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.3649, allocations: 4 kB / 435.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3652, allocations: 156.2 kB / 435.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3653, allocations: 15.92 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3653, allocations: 8.031 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.3654, allocations: 0 / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3654, allocations: 0 / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.3654, allocations: 4 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3655, allocations: 106.2 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3655, allocations: 0 / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.366, allocations: 4 kB / 435.8 MB, free: 2.477 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.0001468/0.3661, allocations: 99.19 kB / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.3663, allocations: 23.92 kB / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3663, allocations: 0 / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.3663, allocations: 4 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.3668, allocations: 22.72 kB / 435.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.3673, allocations: 146.4 kB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.3678, allocations: 0.6887 MB / 436.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.3679, allocations: 4 kB / 436.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3679, allocations: 7.438 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3679, allocations: 0 / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Templates: time 0.004037/0.3719, allocations: 440.2 kB / 437.2 MB, free: 0.9961 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: 5.164125475101173]