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.001791/0.001791, allocations: 123.5 kB / 18.41 MB, free: 4.684 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.001934/0.001935, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.541/1.541, allocations: 222.9 MB / 247 MB, free: 4.332 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.00168/0.00168, allocations: 47.92 kB / 358.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09536, allocations: 49.43 MB / 408.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003664/0.09906, allocations: 1.88 MB / 410 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1011, allocations: 1.056 MB / 411 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1013, allocations: 4 kB / 411 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.102, allocations: 159.5 kB / 411.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.1024, allocations: 115.5 kB / 411.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.103, allocations: 199.2 kB / 411.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1034, allocations: 179.5 kB / 411.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1035, allocations: 37.53 kB / 411.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1036, allocations: 71.7 kB / 411.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1038, allocations: 75.62 kB / 411.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1038, allocations: 8 kB / 411.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.104, allocations: 55.95 kB / 411.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.1041, allocations: 43.84 kB / 412 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.69e-05/0.1042, allocations: 63.55 kB / 412 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.1045, allocations: 207.1 kB / 412.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1046, allocations: 0 / 412.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1046, allocations: 4 kB / 412.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1046, allocations: 0 / 412.2 MB, free: 2.852 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.0008392/0.1054, allocations: 0.5154 MB / 412.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1055, allocations: 15.89 kB / 412.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.1056, allocations: 24.8 kB / 412.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.106, allocations: 267 kB / 413 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.106, allocations: 12.38 kB / 413.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.106, allocations: 8.125 kB / 413.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.1064, allocations: 142.7 kB / 413.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1064, allocations: 0 / 413.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1064, allocations: 0 / 413.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1064, allocations: 4 kB / 413.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1065, allocations: 43.91 kB / 413.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.1071, allocations: 354.4 kB / 413.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1074, allocations: 107.9 kB / 413.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.1075, allocations: 54.44 kB / 413.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1075, allocations: 4 kB / 413.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.1077, allocations: 75.34 kB / 413.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1077, allocations: 0 / 413.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003994/0.1081, allocations: 141.4 kB / 414 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1082, allocations: 136.5 kB / 414.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.1085, allocations: 261 kB / 414.4 MB, free: 456 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1086, allocations: 29.95 kB / 414.4 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.1087, allocations: 120.1 kB / 414.5 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1087, allocations: 11.91 kB / 414.5 MB, free: 284 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.1087, allocations: 33.7 kB / 414.5 MB, free: 244 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1089, allocations: 330.8 kB / 414.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.109, allocations: 23.98 kB / 414.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1091, allocations: 69.94 kB / 415 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1093, allocations: 76.22 kB / 415 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1093, allocations: 0 / 415 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.1095, allocations: 125.7 kB / 415.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1096, allocations: 4 kB / 415.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1096, allocations: 4 kB / 415.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1096, allocations: 0 / 415.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1097, allocations: 15.94 kB / 415.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1097, allocations: 0 / 415.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.1098, allocations: 19.81 kB / 415.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1098, allocations: 4 kB / 415.2 MB, free: 15.53 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.0001433/0.11, allocations: 146 kB / 415.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.1101, allocations: 61.55 kB / 415.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.1101, allocations: 29.69 kB / 415.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1101, allocations: 0 / 415.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1101, allocations: 0 / 415.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.1102, allocations: 15.81 kB / 415.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1104, allocations: 229.6 kB / 415.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1104, allocations: 0 / 415.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1104, allocations: 4 kB / 415.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1104, allocations: 4.062 kB / 415.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1105, allocations: 4 kB / 415.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1105, allocations: 0 / 415.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1105, allocations: 3.938 kB / 415.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1108, allocations: 162.6 kB / 415.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1109, allocations: 113 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.1109, allocations: 4 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.111, allocations: 3.984 kB / 416 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.111, allocations: 8 kB / 416 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1111, allocations: 7.938 kB / 416 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.1113, allocations: 196.5 kB / 416.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1113, allocations: 0 / 416.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1116, allocations: 27.94 kB / 416.2 MB, free: 14.42 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.001555/0.1131, allocations: 431 kB / 416.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1134, allocations: 63.91 kB / 416.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1134, allocations: 0 / 416.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.1135, allocations: 27.94 kB / 416.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1139, allocations: 70.23 kB / 416.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.1146, allocations: 350.6 kB / 417.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.115, allocations: 0.7318 MB / 417.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.115, allocations: 15.44 kB / 417.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.115, allocations: 4 kB / 417.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Templates: time 0.005695/0.1207, allocations: 2.613 MB / 420.5 MB, free: 10.26 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.587941400008276]