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.ShiftSample.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.001716/0.001716, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001969/0.001969, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.53/1.53, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [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.001932/0.001932, allocations: 67.91 kB / 374.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 53.31 MB / 428.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003889/0.129, allocations: 1.916 MB / 430 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1312, allocations: 1.227 MB / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1313, allocations: 0 / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.132, allocations: 147.5 kB / 431.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.1324, allocations: 151.4 kB / 431.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.1329, allocations: 167.4 kB / 431.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.1332, allocations: 195.5 kB / 431.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1333, allocations: 21.55 kB / 431.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1335, allocations: 79.64 kB / 431.9 MB, free: 456 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1336, allocations: 75.67 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1336, allocations: 8 kB / 432 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1338, allocations: 63.83 kB / 432.1 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.1339, allocations: 43.84 kB / 432.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.315e-05/0.134, allocations: 67.48 kB / 432.2 MB, free: 196 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2826/0.4165, allocations: 216.5 kB / 432.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4165, allocations: 3.125 kB / 432.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4165, allocations: 0.9062 kB / 432.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4165, allocations: 0 / 432.4 MB, free: 8.41 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008893/0.4174, allocations: 0.5155 MB / 432.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4175, allocations: 9.531 kB / 432.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.4176, allocations: 23.08 kB / 433 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.4179, allocations: 276.2 kB / 433.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4179, allocations: 8.312 kB / 433.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.4179, allocations: 8.031 kB / 433.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.4183, allocations: 146.5 kB / 433.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4183, allocations: 0 / 433.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4183, allocations: 8.156 kB / 433.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4183, allocations: 1.375 kB / 433.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.4184, allocations: 35.72 kB / 433.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4189, allocations: 363 kB / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4191, allocations: 103.3 kB / 433.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.4192, allocations: 46.45 kB / 433.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.4192, allocations: 3.219 kB / 433.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.4194, allocations: 73.94 kB / 434 MB, free: 7.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.4194, allocations: 3.969 kB / 434 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003801/0.4198, allocations: 137.7 kB / 434.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.4198, allocations: 142.2 kB / 434.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.4201, allocations: 272.5 kB / 434.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.4201, allocations: 30.94 kB / 434.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.4202, allocations: 117.6 kB / 434.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4202, allocations: 22.92 kB / 434.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.4202, allocations: 30.7 kB / 434.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.4203, allocations: 335.6 kB / 435.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.4204, allocations: 20.62 kB / 435.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.4205, allocations: 70.72 kB / 435.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.4206, allocations: 75.34 kB / 435.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4206, allocations: 0 / 435.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001973/0.4208, allocations: 119.6 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4208, allocations: 9.156 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4208, allocations: 1.031 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4208, allocations: 2.25 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.4209, allocations: 10.69 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4209, allocations: 6.844 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.421, allocations: 5.203 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.421, allocations: 4.094 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.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 (11): * Single equations (assignments): 11 * 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 9.817e-05/0.4211, allocations: 154.7 kB / 435.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.4211, allocations: 66.92 kB / 435.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.4212, allocations: 26.77 kB / 435.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4212, allocations: 1.688 kB / 435.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4212, allocations: 1.094 kB / 435.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4212, allocations: 1.094 kB / 435.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.4214, allocations: 236.5 kB / 435.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4214, allocations: 0 / 435.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.4214, allocations: 5.359 kB / 435.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4214, allocations: 5.562 kB / 435.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4214, allocations: 8.219 kB / 435.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4214, allocations: 5.188 kB / 435.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4214, allocations: 6.562 kB / 435.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.4216, allocations: 153.4 kB / 436 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.4217, allocations: 108.7 kB / 436.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.4217, allocations: 8.375 kB / 436.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.4218, allocations: 5.453 kB / 436.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.4218, allocations: 6.547 kB / 436.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.4218, allocations: 4 kB / 436.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.422, allocations: 201.4 kB / 436.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.422, allocations: 0 / 436.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.4223, allocations: 36.36 kB / 436.4 MB, free: 5.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (9): * Single equations (assignments): 7 * 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.001456/0.4237, allocations: 426.6 kB / 436.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.4239, allocations: 71.88 kB / 436.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4239, allocations: 0 / 436.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.424, allocations: 25.25 kB / 436.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.4244, allocations: 53.56 kB / 437 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.4249, allocations: 351.1 kB / 437.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.4251, allocations: 0.7289 MB / 438 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.4252, allocations: 23.94 kB / 438.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4252, allocations: 0 / 438.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of Templates: time 0.006182/0.4314, allocations: 2.699 MB / 440.8 MB, free: 4.309 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.786907386034727]