Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 69.95 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 152 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 46.64 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09358, allocations: 52.17 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003665/0.09724, allocations: 1.865 MB / 373.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.09916, allocations: 1.001 MB / 374.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.09928, allocations: 7.938 kB / 374.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.09988, allocations: 151.5 kB / 374.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1002, allocations: 119.5 kB / 374.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1008, allocations: 199.1 kB / 374.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.101, allocations: 187.4 kB / 375.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1011, allocations: 25.73 kB / 375.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1013, allocations: 79.69 kB / 375.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1014, allocations: 71.69 kB / 375.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1014, allocations: 8 kB / 375.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1016, allocations: 71.83 kB / 375.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.1017, allocations: 43.83 kB / 375.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.1017, allocations: 43.69 kB / 375.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.1021, allocations: 211 kB / 375.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1021, allocations: 4 kB / 375.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1021, allocations: 3.938 kB / 375.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1021, allocations: 0 / 375.6 MB, free: 3.238 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007829/0.1029, allocations: 434.9 kB / 376.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1029, allocations: 16.03 kB / 376.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.103, allocations: 20.8 kB / 376.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1033, allocations: 209.5 kB / 376.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1033, allocations: 8.375 kB / 376.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1033, allocations: 8.125 kB / 376.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.1037, allocations: 145 kB / 376.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1037, allocations: 4 kB / 376.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1037, allocations: 0 / 376.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1037, allocations: 4 kB / 376.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1038, allocations: 43.91 kB / 376.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.1043, allocations: 294.1 kB / 376.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.1045, allocations: 107.9 kB / 376.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.1046, allocations: 38.56 kB / 376.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1047, allocations: 11.94 kB / 377 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1048, allocations: 79.44 kB / 377 MB, free: 1.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1048, allocations: 0 / 377 MB, free: 1.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003912/0.1052, allocations: 141.5 kB / 377.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.1053, allocations: 110.8 kB / 377.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.1056, allocations: 265.8 kB / 377.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1056, allocations: 25.7 kB / 377.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.1057, allocations: 116.1 kB / 377.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1058, allocations: 28.08 kB / 377.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.1058, allocations: 25.72 kB / 377.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.106, allocations: 334.8 kB / 378.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.106, allocations: 20 kB / 378.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1061, allocations: 94.77 kB / 378.2 MB, free: 464 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.1063, allocations: 80.22 kB / 378.2 MB, free: 368 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1063, allocations: 0 / 378.2 MB, free: 368 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002194/0.1065, allocations: 121.5 kB / 378.4 MB, free: 240 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1065, allocations: 6.812 kB / 378.4 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1065, allocations: 0 / 378.4 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1066, allocations: 4 kB / 378.4 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.1066, allocations: 11.94 kB / 378.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1067, allocations: 11.97 kB / 378.4 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.1067, allocations: 15.89 kB / 378.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1067, allocations: 4.312 kB / 378.4 MB, free: 188 kB / 334.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.0001338/0.1069, allocations: 149.9 kB / 378.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.107, allocations: 65.56 kB / 378.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1072, allocations: 111.4 kB / 378.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1072, allocations: 0 / 378.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1072, allocations: 4 kB / 378.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1072, allocations: 0 / 378.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1074, allocations: 169 kB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1074, allocations: 0 / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1075, allocations: 11.94 kB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1075, allocations: 4.062 kB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1075, allocations: 0 / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1075, allocations: 4 kB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1075, allocations: 0 / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1077, allocations: 170.5 kB / 379.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.1078, allocations: 23.89 kB / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1078, allocations: 8 kB / 379.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.1079, allocations: 7.984 kB / 379.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1079, allocations: 0 / 379.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1079, allocations: 7.984 kB / 379.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.1082, allocations: 197.2 kB / 379.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1082, allocations: 0 / 379.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1084, allocations: 35.92 kB / 379.4 MB, free: 15.16 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.00169/0.1101, allocations: 444.1 kB / 379.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1103, allocations: 75.78 kB / 379.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1103, allocations: 0 / 379.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.1104, allocations: 32.22 kB / 379.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1108, allocations: 64.41 kB / 380 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.1114, allocations: 313.3 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1115, allocations: 115.4 kB / 380.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.1116, allocations: 29.75 kB / 380.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1117, allocations: 24.48 kB / 380.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1117, allocations: 0 / 380.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006815/0.1185, allocations: 2.599 MB / 383 MB, free: 11.65 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.248257789062336]