Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001896/0.001896, allocations: 109.9 kB / 19.17 MB, free: 3.871 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.00224/0.00224, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.537/1.537, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 53.31 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003856/0.1321, allocations: 1.948 MB / 430 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1344, allocations: 1.247 MB / 431.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1345, allocations: 4 kB / 431.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.1353, allocations: 154.5 kB / 431.4 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1357, allocations: 163.3 kB / 431.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.1362, allocations: 175.4 kB / 431.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.1365, allocations: 195.5 kB / 431.9 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1367, allocations: 25.66 kB / 431.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1368, allocations: 83.64 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1369, allocations: 87.55 kB / 432.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.137, allocations: 8 kB / 432.1 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1371, allocations: 59.95 kB / 432.2 MB, free: 224 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.1372, allocations: 47.84 kB / 432.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1373, allocations: 75.42 kB / 432.3 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2548/0.3921, allocations: 221.7 kB / 432.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3921, allocations: 0 / 432.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3921, allocations: 0 / 432.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3921, allocations: 1.375 kB / 432.5 MB, free: 8.484 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009893/0.3931, allocations: 0.5302 MB / 433 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3931, allocations: 10.34 kB / 433.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/0.3932, allocations: 26.86 kB / 433.1 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.3937, allocations: 276 kB / 433.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.3937, allocations: 9.531 kB / 433.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3937, allocations: 12.5 kB / 433.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.3942, allocations: 174.1 kB / 433.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3942, allocations: 2.125 kB / 433.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3942, allocations: 1.688 kB / 433.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3942, allocations: 1.719 kB / 433.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3943, allocations: 38.84 kB / 433.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.3949, allocations: 378.8 kB / 434 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3952, allocations: 134.3 kB / 434.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3953, allocations: 47.75 kB / 434.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.3953, allocations: 11.89 kB / 434.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3955, allocations: 77.31 kB / 434.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 3.086e-06/0.3955, allocations: 0.7969 kB / 434.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004907/0.396, allocations: 160.9 kB / 434.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.3961, allocations: 167.8 kB / 434.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.3964, allocations: 278.8 kB / 434.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3964, allocations: 27.86 kB / 434.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.3965, allocations: 124.8 kB / 435 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3965, allocations: 17.36 kB / 435 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.3966, allocations: 30.28 kB / 435 MB, free: 6.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.3967, allocations: 334.1 kB / 435.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.3968, allocations: 27.47 kB / 435.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3969, allocations: 79.67 kB / 435.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.397, allocations: 94.89 kB / 435.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.397, allocations: 1.312 kB / 435.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002644/0.3973, allocations: 137.8 kB / 435.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3973, allocations: 8.688 kB / 435.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3973, allocations: 3.25 kB / 435.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3973, allocations: 8.5 kB / 435.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.3974, allocations: 8.062 kB / 435.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3975, allocations: 6.344 kB / 435.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.3975, allocations: 16.95 kB / 435.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3976, allocations: 4 kB / 435.7 MB, free: 6.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001302/0.3977, allocations: 144 kB / 435.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3978, allocations: 81.31 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.3979, allocations: 27.62 kB / 436 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3979, allocations: 2.406 kB / 436 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3979, allocations: 2.969 kB / 436 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3979, allocations: 0 / 436 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3981, allocations: 240.4 kB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3981, allocations: 0.7188 kB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.3981, allocations: 8.375 kB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3981, allocations: 3.609 kB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3981, allocations: 12.28 kB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3981, allocations: 1.656 kB / 436.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3981, allocations: 10.66 kB / 436.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.3984, allocations: 169 kB / 436.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.3985, allocations: 111.7 kB / 436.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.3986, allocations: 2.375 kB / 436.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.3986, allocations: 13.89 kB / 436.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3987, allocations: 3.312 kB / 436.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3987, allocations: 8.484 kB / 436.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.3989, allocations: 202.9 kB / 436.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3989, allocations: 0 / 436.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.3993, allocations: 36.97 kB / 436.8 MB, free: 5.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001807/0.4011, allocations: 419.8 kB / 437.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.4014, allocations: 77.62 kB / 437.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4014, allocations: 0 / 437.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.4015, allocations: 23.61 kB / 437.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.4021, allocations: 81.5 kB / 437.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.4028, allocations: 383.6 kB / 437.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.4029, allocations: 0.7399 MB / 438.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.403, allocations: 19.28 kB / 438.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.403, allocations: 0 / 438.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of Templates: time 0.008103/0.4111, allocations: 2.861 MB / 441.4 MB, free: 4.211 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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: 7.716300138970837]