Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001834/0.001834, allocations: 73.02 kB / 21.24 MB, free: 0.5547 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.00227/0.00227, allocations: 159.7 kB / 24.5 MB, free: 3.715 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.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 51.27 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09518, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003438/0.09861, allocations: 1.886 MB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1009, allocations: 1.15 MB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.101, allocations: 7.938 kB / 381.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.1017, allocations: 159.5 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.1021, allocations: 151.4 kB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1026, allocations: 175.4 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.1028, allocations: 191.5 kB / 382.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1029, allocations: 25.73 kB / 382.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.103, allocations: 79.69 kB / 382.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1032, allocations: 75.56 kB / 382.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1032, allocations: 12 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1034, allocations: 55.95 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.1034, allocations: 39.84 kB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.1035, allocations: 59.59 kB / 382.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1039, allocations: 227 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1039, allocations: 3.938 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1039, allocations: 0 / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1039, allocations: 0 / 383.2 MB, free: 11.37 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.0007586/0.1046, allocations: 442.8 kB / 383.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1047, allocations: 15.97 kB / 383.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1047, allocations: 20.8 kB / 383.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1051, allocations: 213.5 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1051, allocations: 4.375 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1051, allocations: 12.12 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1054, allocations: 145.8 kB / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1054, allocations: 0 / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1054, allocations: 0 / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1054, allocations: 4 kB / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1056, allocations: 39.91 kB / 384 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.106, allocations: 290.1 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.1062, allocations: 115.8 kB / 384.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.1063, allocations: 46.56 kB / 384.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1063, allocations: 0 / 384.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.1065, allocations: 71.39 kB / 384.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1065, allocations: 0 / 384.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003722/0.1069, allocations: 153.6 kB / 384.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.107, allocations: 110.8 kB / 384.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.1073, allocations: 269.9 kB / 385.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1073, allocations: 33.7 kB / 385.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.1074, allocations: 120.2 kB / 385.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1074, allocations: 23.83 kB / 385.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1075, allocations: 25.67 kB / 385.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1076, allocations: 334.8 kB / 385.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1077, allocations: 23.98 kB / 385.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1078, allocations: 102.7 kB / 385.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1079, allocations: 80.25 kB / 385.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1079, allocations: 0 / 385.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.1082, allocations: 113.8 kB / 385.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1082, allocations: 8 kB / 385.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1082, allocations: 0 / 385.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1082, allocations: 8.109 kB / 385.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.1083, allocations: 23.92 kB / 386 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1083, allocations: 4 kB / 386 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.1084, allocations: 7.953 kB / 386 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1084, allocations: 4 kB / 386 MB, free: 8.285 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 0.0001449/0.1085, allocations: 145.8 kB / 386.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1086, allocations: 65.47 kB / 386.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1089, allocations: 119.4 kB / 386.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1089, allocations: 4 kB / 386.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1089, allocations: 4.062 kB / 386.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1089, allocations: 0 / 386.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.1091, allocations: 177.1 kB / 386.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1091, allocations: 4 kB / 386.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1091, allocations: 4 kB / 386.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1091, allocations: 0 / 386.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1091, allocations: 4 kB / 386.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1091, allocations: 3.984 kB / 386.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1091, allocations: 0 / 386.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1094, allocations: 162.6 kB / 386.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1095, allocations: 35.84 kB / 386.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1095, allocations: 7.984 kB / 386.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.1096, allocations: 4 kB / 386.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1096, allocations: 7.984 kB / 386.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1096, allocations: 4 kB / 386.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.1098, allocations: 205.2 kB / 386.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1098, allocations: 0 / 386.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1101, allocations: 27.94 kB / 386.9 MB, free: 7.242 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001631/0.1117, allocations: 457.8 kB / 387.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.112, allocations: 71.83 kB / 387.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.112, allocations: 4 kB / 387.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.112, allocations: 27.92 kB / 387.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1124, allocations: 62.95 kB / 387.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.113, allocations: 321.6 kB / 387.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1132, allocations: 120 kB / 388 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.1132, allocations: 21.61 kB / 388 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.1133, allocations: 24.48 kB / 388 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1133, allocations: 3.938 kB / 388 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Templates: time 0.007097/0.1204, allocations: 2.638 MB / 390.7 MB, free: 3.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.296043384005316]